Using Parameters in Power BI

Sdílet
Vložit
  • čas přidán 10. 07. 2024
  • Power BI allows you to use parameters to make your reports and data sources more dynamic.
    In my opinion, using Parameters in Power BI is not as intuitive as you would expect, but this video will help clear it up as we walk you through how to use them.
    ►► The Starter Guide for The Modern Data Stack (Free PDF)
    Simplify the “modern” data stack + better understand common tools & components → bit.ly/starter-mds
    Timestamps:
    0:00 - Intro
    0:22 Parameter vs Filter
    1:05 Add What If Parameter
    3:05 Use in a Measure
    4:44 Data Source Queries
    4:50 Parameter Type - Any
    6:10 Parameter Type - List of Values
    6:59 Parameter Type - Query
    8:59 Edit Parameters
    9:25 Recap
    Title & Tags:
    Using Parameters in Power BI | Power BI Tutorial
    #kahandatasolutions #powerbi #dataengineering

Komentáře • 50

  • @KahanDataSolutions
    @KahanDataSolutions  Před 3 lety +2

    ►► The Starter Guide for The Modern Data Stack (Free PDF)→ bit.ly/starter-mds
    Simplify “modern” architectures + better understand common tools & components

  • @markusher1695
    @markusher1695 Před 2 lety +2

    This is the best instructional video I've seen to date on how to use parameters in Power BI although, as a Tableau user only now learning Power BI, I have to say that compared to Tableau it is like pulling teeth to set up even a fairly simple parameter-based model in Power BI. For example, I am currently trying to figure out how to set up a parameter in BI that allows the user to switch between using different measure fields in the data source table and see the effect on all the dashboard reports. Specifically, I have purchasing expenditures of thousands of items over different time periods, i.e. fields for CY2019 Amount, CY2020 Amount, CY2021 Amount (plus more for all the quarterly time periods, e.g. CY2020Q1 Amount, CY2020Q2 Amount, etc.). In Tableau I would create a calculated field, say "Period Expenditure", in which the calculation uses IF and ELSE SQL and a parameter called "Selected Time Period" which is a simple text list of all the periods CY2019, CY2019Q1, etc. The user selects the parameter value on the dashboard for the time period, e.g. CY2020Q3, and the calculated field logic causes "Period Expenditure" to be equal to CY2020Q3 Amount. The dashboard now shows how all the reports look for the CY2020Q3 time period. I've been trying to get this done in Power BI and for the life of me can't get it to work. Which one of your options in your video would this correspond to?

  • @bero5541
    @bero5541 Před 2 lety +2

    Thank you very much! I love it when a video is coherent.

  • @maxmeista
    @maxmeista Před rokem

    Awesome definition (filter vs parameter). I was asked this recently, gave a long spiel, but this is concise and straight to the point. Thank you, sir!

  • @ChrisSmithFW
    @ChrisSmithFW Před rokem

    Great vid. Super simple to understand. Much appreciated.

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

    Finally I understand those parameters. Thank you very much!

  • @udayshankarnellore
    @udayshankarnellore Před rokem

    This is one of best video's I have ever seen about Parameters.
    Crisp and clear
    Thanks a ton for this video 👍

  • @surajrawat6528
    @surajrawat6528 Před 2 lety +2

    You showed me the exact concept which i was looking for from the last 2 days...dont know how to thank you enough...#TheSaviour 😎😎

  • @jeannineshi
    @jeannineshi Před rokem +1

    Thank you! Very concise and useful

  • @jraymer9141
    @jraymer9141 Před 3 lety +1

    Thank you very much!
    Great job - Nice and simple

  • @collinsegbo1350
    @collinsegbo1350 Před rokem

    Good explanation. Bravo!

  • @yig8763
    @yig8763 Před rokem

    Thank you very clear explanation step by step Thank you Kahan!

  • @oladman9058
    @oladman9058 Před 2 lety

    I really like your teaching method.

  • @pixelmasque
    @pixelmasque Před rokem

    great explanation

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

    Very useful video . Thanks

  • @sixtyfiveroses2968
    @sixtyfiveroses2968 Před 2 lety

    Great Explanation

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

    Is it possible to change values of the parameters for data source queriing in published Power BI report (I am using version (PBI Desktop/Server) January 2021 and can not update it). Thanks

  • @gauripawarmagar2043
    @gauripawarmagar2043 Před 2 lety

    I was stuck! Your video came to rescue (@6:03), Thank you so much :-)

  • @Koreafut02
    @Koreafut02 Před 2 lety

    Can you use the Parameter you created on Power Query Editor on Power BI Desktop as one of the filters?

  • @unick_gul7538
    @unick_gul7538 Před 2 lety

    Can we use parameters for the data source in power bi for snowflake?

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

    Nice video, Kahan! ...I'm working on some kind of project dashboard. There is a slicer on the report that you can use to select the project. Question: Can it pass on the project ID from the slicer selection as a query parameter so that the SQL query is always supplemented with "where ParameterProjId" and queries the data of the selected project (direct query)? Thanks!

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

    hi kahan, how the user will use this parameters in the service, specially the drop list parameter

  • @americanmc
    @americanmc Před rokem

    very helpful

  • @g.janardhanreddyjanardhan4478

    Hello. Can we filter two values at time. Black and white. Is it possible? If possible how?

  • @anuragbawankar685
    @anuragbawankar685 Před 3 lety +1

    Thanks

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

    I still have an issue because when i do this and publish the report in the pbi service, i cant refresh the report.. it indicates that it's a dynamic data source and the refresh is not allowed in pbi service. Any solution ?
    thank you for the tutorial

  • @tonyburg
    @tonyburg Před 3 lety

    In the “Filter rows” dialog i cant find the filter by parameter button. Did Microsoft removed it!?

    • @KahanDataSolutions
      @KahanDataSolutions  Před 3 lety

      Hmm...I don't believe so. Were you ever able to locate this?

    • @tonyburg
      @tonyburg Před 3 lety

      @@KahanDataSolutions thanks for the answer it is actually an option in the power bi desktop settings. Solved!

    • @KahanDataSolutions
      @KahanDataSolutions  Před 3 lety +1

      @@tonyburg Awesome! Glad to hear you were able to resolve that.

  • @UlysseFrance
    @UlysseFrance Před rokem

    Paramétrer 4:57

  • @UlysseFrance
    @UlysseFrance Před rokem

    Paramétrer 5:23

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

    I don't really get why parameters are useful. is it because it speeds up the reports?

  • @Blahnik1182
    @Blahnik1182 Před 13 dny

    The content is fantastic, but your editing needs work. It's really hard to listen and watch when the video looks and sounds so glitchy.

  • @Blahnik1182
    @Blahnik1182 Před 6 měsíci +1

    Your editing is so jumpy that it distracts from the content of the video. It's good content but could use further editing.