Video není dostupné.
Omlouváme se.

Power Query Parameters - Dynamically Change the Output of Your Queries Depending on Their Value

Sdílet
Vložit
  • čas přidán 18. 08. 2024
  • Power Query Parameters give you the flexibility to dynamically change the output of your queries depending on their value. As Power Query records the transformation steps, it includes many hardcoded values within the M code.
    What if we want to change these values? We could edit the query each time, which would be very time-consuming. Or we could create parameters!
    Parameters in Power Query are really easy. In this video you will learn how to create a Parameter in Power Query as well as create a parameter in an Excel Cell.
    You can download the practice example here: buymeacoffee.c...
    00:00 Introduction to Parameters
    01:15 Creating the Query
    02:31 Creating the Parameter
    03:43 Assigning the Parameter to the Query
    05:42 Creating More than One Parameter
    07:43 Creating a Power Query Parameter in an Excel Cell
    ✅ Please see link to video mentioned in this video:
    🎦 Power Query Advanced Editor: • Getting Started with t...
    🎦 Create a Dynamic File Path - Change the Power Query Source Based on a Cell Value: • Create a Dynamic File ...
    🎦 Power Query Custom Functions: • Power Query Custom Fun...
    ✅ If you would like to subscribe to The Query Editor Newsletter for more Power Query content:
    🗞️ thequeryeditor...
    ✅ If you would like to connect on LinkedIn:
    🤝 www.linkedin.com/in/missmicrosoft
    ✅ If you would like to buy me a coffee, so I can get my caffeine in to keep creating as many videos as possible for you :). It's really quick and easy, please use this link:
    ☕www.buymeacoff...
    ✅ For more videos please subscribe:
    🔔 / @missmicrosoft
    ✅ For more Power Query videos please use the links below:
    🎦 Power Query in Excel Beginners Tutorial: Combine Multiple Excel Sheets, Automate & Transform Data: • Excel's Power Query: T...
    🎦 Power Query Age Analysis - Create an Excel Age Analysis Report Using Power Query: • Power Query Age Analys...
    🎦 Power Query Error Handling - How to Deal with Power Query Errors Part 1: • Power Query Error Hand...
    ✅ Please also check out my Excel course on Udemy, please use this link:
    📖 www.udemy.com/...

Komentáře • 63

  • @MissMicrosoft
    @MissMicrosoft  Před 9 měsíci +1

    Be among the first 100 to jump on board "The Query Editor" newsletter 🚀. It's packed with super-actionable tips and insights. Why should you be excited? 🌟 Because the first 100 subscribers will receive an exclusive 50% discount on my upcoming mini-course, set to drop early next year (or perhaps even sooner)! 🤞Just hit this link to subscribe thequeryeditor.beehiiv.com/subscribe
    🚀🔥

  • @venkyr81
    @venkyr81 Před 7 měsíci

    Thanks for creating this vedio and adding multiple scenarios into it. This one vedio cover parameter well. Appreciate your effort.

  • @ThGrum
    @ThGrum Před rokem

    Excellent, there's nothing more to say. Thank you for that professional tutorial. Greetings from Bavaria.

  • @iankr
    @iankr Před 2 lety +1

    Excellent! Thank you. You always explain things clearly.

    • @MissMicrosoft
      @MissMicrosoft  Před 2 lety +1

      You’re most welcome Ian, glad I could help!

  • @charliechaplin2716
    @charliechaplin2716 Před rokem +1

    Your channel is underrated! Good job. 👏 I shall recommend your channel in my network!

    • @MissMicrosoft
      @MissMicrosoft  Před rokem

      Thank you so much for the support Charlie Chaplin! It’s highly appreciated :)

  • @MosheAtkins393
    @MosheAtkins393 Před 6 měsíci

    Thanks, that was a great video, really helpfull

  • @wayneedmondson1065
    @wayneedmondson1065 Před 2 lety +1

    Very nice! Well explained and useful information. Thanks for demonstrating. Thumbs up!!

    • @MissMicrosoft
      @MissMicrosoft  Před 2 lety +1

      Hi Wayne, thank you so much!!! And I took your suggestion and added the workbook in the description :)

    • @wayneedmondson1065
      @wayneedmondson1065 Před 2 lety

      @@MissMicrosoft Great! Always helps to be able to follow along and practice :)) Thanks!!

  • @suryaatthesun1
    @suryaatthesun1 Před měsícem

    Excellent vedio on Parameters, Thanks

  • @RyanLeishman
    @RyanLeishman Před rokem

    Really useful. I haven’t used parameters before.
    For the product table, instead of pulling in a table you could pull in a named range to power query.

    • @MissMicrosoft
      @MissMicrosoft  Před rokem +1

      Glad the video was helpful. Yes you could definitely use a named range instead.

  • @sudiptaghosh5855
    @sudiptaghosh5855 Před 2 lety

    Hello Miss 🙂nicely expained...thanks a lot...keep uploading such videos...love from India

    • @MissMicrosoft
      @MissMicrosoft  Před 2 lety +1

      Thank you Sudipta for your kind words! I'm so glad the videos are helpful! If you haven't yet subscribed please subscribe as it really helps the channel grow, thank you so much for your support!

  • @heeren.9
    @heeren.9 Před 2 lety

    Medam, Nice Teaching.. Clear speech.. 👍🏻👍🏻

  • @user-ii8xg2nb9v
    @user-ii8xg2nb9v Před 3 měsíci

    thank you for video

  • @mehrdadazimi2298
    @mehrdadazimi2298 Před 8 měsíci

    Great! Thank you

  • @maysarrose6649
    @maysarrose6649 Před 11 měsíci

    Thank you so much. 7:45 saved me from dying in an assignment 😭

  • @kebincui
    @kebincui Před 2 lety

    Excellent 👍🏻 thanks

  • @mirekkryskapriv7445
    @mirekkryskapriv7445 Před rokem

    Great! Thanx!

  • @luigisir6893
    @luigisir6893 Před 9 měsíci +1

    Excuse me, one question! But if instead of the month we had taken the day as a dynamic variable, would it have worked the same? Or does this dynamic filter only apply to text variables? Thank you for the great video and your answer!

  • @Faisal63045
    @Faisal63045 Před 2 lety

    Awesome thank you

    • @MissMicrosoft
      @MissMicrosoft  Před 2 lety

      It's a pleasure Faisal, glad it was helpful :)

  • @FRANKWHITE1996
    @FRANKWHITE1996 Před rokem

    Thanks for sharing ❤

  • @gregbernard7861
    @gregbernard7861 Před rokem

    Great video / just subscribed!

    • @MissMicrosoft
      @MissMicrosoft  Před rokem

      Glad you enjoyed the video Greg. Thanks for subscribing!

  • @julie_chen
    @julie_chen Před 6 měsíci

    👍👍👍👍

  • @eslamfahmy87
    @eslamfahmy87 Před rokem +1

    Hi 👋..actually, very nice but could you distribute ur video into 2 or 3 videos with shortage muints and each video explain one point in order to understand for immediate levels 😀
    Thanks 😊

  • @Anything_Interesting
    @Anything_Interesting Před rokem +1

    how to query more than one value dynamically? for example I want jan and feb data to appear

  • @ankitsaxena5966
    @ankitsaxena5966 Před 2 měsíci

    What if I want to see two months data....

  • @prakashpatil426
    @prakashpatil426 Před 4 měsíci

    How to use create parameter in version 2016

  • @icyyp5866
    @icyyp5866 Před 9 měsíci

    cant seem to do this with date values any tips?

  • @cassielemke5217
    @cassielemke5217 Před rokem

    Does this work in PowerBI?

  • @republikadugave420
    @republikadugave420 Před rokem

    Can this be a multiple selection?

    • @MissMicrosoft
      @MissMicrosoft  Před rokem

      Yes it can, please see 05:44 of this video for the second parameter created in the same query, so you can follow the same method to create as many parameters as you require in the same query.

  • @dineshzoomyt8879
    @dineshzoomyt8879 Před rokem

    i want this concept from sql server. plz explain

  • @edwinruizcolon5707
    @edwinruizcolon5707 Před rokem

    Can I use the dynamic parameter for 6 different sheets in the same workbook? I am building a workbook with 6 tables and I want to do the dynamic parameter in another sheet and set it to connection only.

    • @MissMicrosoft
      @MissMicrosoft  Před rokem +1

      Yes you can most definitely do that.

    • @edwinruizcolon5707
      @edwinruizcolon5707 Před rokem

      @@MissMicrosoft Thanks. I was able to do it. I thought it was not possible at first because the filter was not applying to all sheets. The problem was in the data type configuration of some sheets .

    • @MissMicrosoft
      @MissMicrosoft  Před rokem

      @@edwinruizcolon5707 Glad to hear you were able to do it :) thanks for letting me know!

    • @edwinruizcolon5707
      @edwinruizcolon5707 Před rokem

      @@MissMicrosoft I am having the following issue. Not related to original question but hopefully you can help me. I developed an excel file with power query reading files from a folder on a shared folder of my organization. I, creator of the file, can refresh the file and query steps run without issue. However others members of my team cannot do it. They see the following error
      “Query references other queries or steps, so it may not directly access a data source. Please rebuild this data combination.”

    • @MissMicrosoft
      @MissMicrosoft  Před rokem +1

      @@edwinruizcolon5707 this can definitely be fixed, you can either ignore the error or fix it, fixing it is definitely the safer option, please watch this video here for the fix: czcams.com/video/SLn5sAL3WnQ/video.html but if you want to ignore the error, please check out this video here: czcams.com/video/T5aWvqf9SnM/video.html. I hope it helps!

  • @MunasibSpace
    @MunasibSpace Před rokem

    10/10 on choosing timestamps of referrals. Liked. Subscribed. What's your twitter handle?

    • @MissMicrosoft
      @MissMicrosoft  Před rokem

      Thank you for the support, it’s much appreciated! I’m not yet on Twitter, I’ll share it when I get an account.

    • @MunasibSpace
      @MunasibSpace Před rokem

      @@MissMicrosoft I have a small power query assignment to outsource and you seem a potential candidate. Please DM or connect.

    • @MissMicrosoft
      @MissMicrosoft  Před rokem

      Hi Danish, let's chat, please email me at missmicrosoft@ignite-work.com