Speed up Power BI development time with filters and parameters

Sdílet
Vložit
  • čas přidán 5. 08. 2024
  • In this video Mitchell discusses how to speed up development time in Power BI by adding filters, using parameters and taking advantage of query folding. All of this is done inside the Power Query Editor within Power BI Desktop!
    👍 If you enjoy this video and are interested in formal training on Power BI, Power Apps, Azure, or other Microsoft products you can use my code "Mitchell30" at check out when purchasing our On-Demand Learning classes to get an extra 30% off - pragmaticworks.com/pricing/
    -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - -
    Next step on your journey:
    👉 On-Demand Learning - Start With The FREE Community Plan: tinyurl.com/2ujujsb5
    🔗Pragmatic Works On-Demand Learning Packages: pragmaticworks.com/pricing/
    🔗Pragmatic Works Boot Camps: pragmaticworks.com/boot-camps/
    🔗Pragmatic Works Hackathons: pragmaticworks.com/private-tr...
    🔗Pragmatic Works Virtual Mentoring: pragmaticworks.com/virtual-me...
    🔗Pragmatic Works Enterprise Private Training: pragmaticworks.com/private-tr...
    🔗Pragmatic Works Blog: blog.pragmaticworks.com/
    Let's connect:
    ✔️Twitter: / pragmaticworks
    ✔️Facebook: / pragmaticworks
    ✔️Instagram: / pragmatic.works
    ✔️LinkedIn: / pragmaticworks
    ✔️CZcams: / pragmaticworks
    Pragmatic Works
    7175 Hwy 17, Suite 2 Fleming Island, FL 32003
    Phone: (904) 638-5743
    Email: training@pragmaticworks.com
    #PragmaticWorks

Komentáře • 8

  • @lucasimonebernardini6922

    good tutorial. thanks
    Is there a similar way to filter diagrams or charts as well ?

  • @furkansimsek33
    @furkansimsek33 Před rokem

    Thank you for the tip. I am looking forward to learning more Power BI tips from Pragmatic Works :)

  • @kebincui
    @kebincui Před rokem

    Great tip👍. Thanks

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

    Thanks for sharing this great tip, Mitchell! Will this also help in reducing the lag time it takes in creating/editing measures since now there would be less data to work with?

  • @shoaibrehman9988
    @shoaibrehman9988 Před rokem

    Yes indeed its gr8 tip.

  • @jhormangomez2268
    @jhormangomez2268 Před rokem

    Totally agreed, also common sense

  • @manuelmunoz357
    @manuelmunoz357 Před rokem

    Mitchell, thanks for this very useful tip. I find parameters to be a great tool but I noticed that coding the date at the parameter level minimizes the number of instances where to update a date change in the future, however, it still creates a dependency on the user to remember in the future to change the base date used to filter the dataset. Would it be possible to create a dynamic parameter that would use a formula such as > the previous 12 months, etc.? If so, could you show us how to do it? Thanks!

    • @kebincui
      @kebincui Před rokem +2

      hi Mamuel, you can create a parameter (e.g. MonthsBackParameter of how many previous months you want the data to be filtered and then you use the code below to get the data filtered dynamically:
      = Table.SelectRows( #"Previous Step", each [Your Date Column] >= Date.StartOfMonth(Date.AddMonths(DateTime.Date(DateTime.LocalNow()), - (MonthsBackParameter-1) )))