Do's and Don't with cascading slicers in Power BI

Sdílet
Vložit
  • čas přidán 8. 06. 2021
  • Trying to get your slicers to filter right in Power BI? Patrick looks at some do's and don'ts with cascading slicers to get you in the right spot.
    📢 Become a member: guyinacu.be/membership
    *******************
    Want to take your Power BI skills to the next level? We have training courses available to help you with your journey.
    🎓 Guy in a Cube courses: guyinacu.be/courses
    *******************
    LET'S CONNECT!
    *******************
    -- / guyinacube
    -- / awsaxton
    -- / patrickdba
    -- / guyinacube
    -- / guyinacube
    -- guyinacube.com
    **Gear**
    🛠 Check out my Tools page - guyinacube.com/tools/
    #PowerBI #Slicers #GuyInACube
  • Věda a technologie

Komentáře • 57

  • @AshleyLayne-f3j
    @AshleyLayne-f3j Před 14 dny

    Don't know if I would still have a job if it wasn't for Guy in a Cube! THANK YOU AGAIN

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

    Great video Patrick, consolidated all the methods into one video. Thank you

  • @avatorl_in_a_hammock
    @avatorl_in_a_hammock Před 3 lety

    Thank you for the video Patrick! It's great as always.

  • @jonathanjedrczak1753
    @jonathanjedrczak1753 Před 3 lety

    Thanks for the great video! I'd seen/read most of the other content you referenced, but not fully understood it (in particular the Alberto solution). This put all the pieces together in a simple way

  • @billsomers5775
    @billsomers5775 Před 2 lety

    Brilliant! Worth watching multiple times.

  • @mistertkn21
    @mistertkn21 Před 2 lety

    and Guy in a Cube has the answer to my question once again! Thanks, Patrick

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

    Excellent Patrick ! I love "The Alberto" :-) Thx a lot

  • @toma4528
    @toma4528 Před rokem

    Thanks a lot Patrick. This is all I needed. Didnt know I could be able to specify all fact tables in one measure. ✌️✌️

  • @mikepelli
    @mikepelli Před 3 lety

    Great content!! Thanks!

  • @ketanpatil3489
    @ketanpatil3489 Před 3 lety

    fantastic video Patrick...excellent tips... I will love to try out Alberto approach...

  • @thenerdyguy8388
    @thenerdyguy8388 Před 3 lety

    I love the video on such a tricky topic :), thanks guys

  • @bettina.e-k
    @bettina.e-k Před 2 lety

    Thank you again, Patrick, for such a clearly explained video demonstrating the importance of data schema in visual interactions & UX. Not to mention TOP TIP with regard to measure-based Fact Table filtering: I had been using COUNTROWS(), but the solution from Alberto is much more elegant!

  • @RajaVelforyou
    @RajaVelforyou Před 3 lety

    Great video - thanks for sharing it 😇

  • @swathinageswaran9788
    @swathinageswaran9788 Před rokem

    Thank you sir. This was really healpful

  • @mukuldevbisht2672
    @mukuldevbisht2672 Před 3 lety

    Greaaaat! Awesome video🔥

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

    In option 2 when going across multiple measures (fact tables) you can even use Alberto’s method. Create a new measure that is the sum of Measure1, Measure2 … And apply the not blank filtering on the sum of measures. It won’t be the most optimal as it is pointed out but it is easy to apply.

  • @nicob5477
    @nicob5477 Před 3 lety

    Thanks for this video!
    It’s exactly what I was currently wondering “how do I keep cascading slicers in a star schema”

  • @ajaaskelainen
    @ajaaskelainen Před 3 lety

    Awesome 👏

  • @lopypop
    @lopypop Před 3 lety +6

    Great video Patrick! I think it would be helpful if you include some decision criteria for when to use which option. For example, I can get away with using bi-directional filtering on smaller datasets without any noticeable front-end issues. Similarly, some flat tables may just be too big when you have 10+ columns and millions of rows (in which case I'd ask if the filters should be chained in the first place)

  • @AJM2183
    @AJM2183 Před 3 lety

    Nice, love the Alberto and Snowflake

  • @PedroCabraldaCamara
    @PedroCabraldaCamara Před 3 lety

    veeeeeeeery gooood!!!

  • @antonycatella5901
    @antonycatella5901 Před 3 lety

    I have always used 'The Alberto' so simple to implement with multiple fact tables

  • @reazurrahman3515
    @reazurrahman3515 Před 3 lety

    Nice👍

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

    Great Video! Question: I commonly see/hear people saying to avoid bidirectional relationships because they cause “all kinds of problems”… but rarely does anyone get into examples of what those problems are (real examples vs. academic dissertations) …. Is it possible that the data models created by us “mere mortals” just dont get to the complexity where bidirectional relationships would cause problems? Thanks!

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

    Patrick, great video as always. Alberto's method doesn't seem to work for a date slicer using a range (i.e. between, after, before). Is there a known solution?

  • @sahiladya8473
    @sahiladya8473 Před 3 lety

    Awesome.
    If we need to sync multiple slicers in different tables in model, we have to create a calcualted column which is concatenate of multiple columns which we need to filter and cascade.
    This result in many to many relationship cardinality between multiple tables on which the that relationship column is created.
    Is there Any way we can change its cardinality or activate relationship on multiple columns at one time?

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

    Patrick, if we use bi directional in a one (dimension table) to many(fact table) scenario where the dimension table's columns are distinct. It doesnt throw any unexpected result and works perfectly fine.
    Its a different case, if the dimension table does consist of duplicate value, you are right to point that it displays unexpected result at times.

    • @Paul-tm6lw
      @Paul-tm6lw Před 3 lety

      This! Also create composite keys if necessary

  • @NirRobinson
    @NirRobinson Před 3 lety

    Great summarisations of this topic!!!
    Is the pbix file
    Is available for downloading?
    🙏

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

    We follow Alberto method in out projects :)

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

    Hey Patrick! Great content as always. thanks!
    how about the visual interaction where you can set to filter visuals/slicers based on another visual state?

    • @jonathanjedrczak1753
      @jonathanjedrczak1753 Před 3 lety

      I spent a while trying to do this the other day but from what I found it's not currently possible :(

    • @hukumka2601
      @hukumka2601 Před 2 lety

      Visual interactions do not affect the filtering directions in the data model. If the model does not let one table to filter another one, so the slicer based on the first table would not be able to filter values from another table, even if "visual interactions" does not forbid it.

  • @mohitdhand5094
    @mohitdhand5094 Před 3 lety

    Hi Patrick, when computing growth for a sales person, I want to compare it with designated region/city/country. Is it possible?

  • @phlppnsk
    @phlppnsk Před 3 lety +4

    I am basically doing "The Alberto" in all my reports, but I am using the COUNTROWS() function for it.
    Would the ISEMPTY() one be better from a performance point of view?

    • @dariuszspiewak5624
      @dariuszspiewak5624 Před 3 lety +4

      Yes it's better. It's optimized similarly to the EXISTS operator in SQL. COUNTROWS needs to scan a table to count rows. ISEMPTY returns a value as soon as it's known, which means that if it finds a row in the current context, it does not have to scan any further.

  • @smartdata678
    @smartdata678 Před 3 lety

    Alberto rules! :)

  • @johnhebenstreit1274
    @johnhebenstreit1274 Před 2 lety

    Is this applicable for an organizational chart use case? i.e. display corresponding sales data by the person selected n the organizational chart?

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

    Do you have a video about doing the hierarchys you mentioned: "I have them hidden because I created a hierarchy"?

  • @travelicious7100
    @travelicious7100 Před rokem

    Hi Patrick,
    In a date slicer(before), Is it possible to put minimum date as maximum date -5? That is five days less than the selected date.
    Please let me know if there is any solution for this

  • @Fernando_Calero
    @Fernando_Calero Před 2 lety

    Hi @Patrick, this solution doesn't work if instead of using a slicer we use a chart to filter the measure, right?

  • @analisecritica8722
    @analisecritica8722 Před rokem

    Hello, how to select only one option in two different filters? example: In Filttro 1 it has the options (A, B ,C) and in Filttro 2 it has the options (D,E,F). So, how to select only 1 option among all options (A,B,C,D,E,F)?

  • @HariharasudanP
    @HariharasudanP Před 3 lety

    @patrick - by doing Alberto method, does it impact performance by any chance ?

    • @ketanpatil3489
      @ketanpatil3489 Před 3 lety

      I have gone through vlogs of Alberto and Marco @sqlbi channel...those guys really know efficient techniques to model the data with optimum performance

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

    If you have a SQL source you can cretate dimensions that only have a related fact record with an inner join. What you will miss is what has not happened. Products not being sold and so on. Great video.

  • @ProtValnus
    @ProtValnus Před 2 lety

    Just discovered your channel and love it.
    Real question tho. In your example. If nothing is selected for any of the slicers. How do you get the visuals to no display anything ?

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

      Great question. Stay tuned for the video!!!!!!

    • @ProtValnus
      @ProtValnus Před 2 lety

      @@GuyInACube Tuned :)

  • @mihir_thakkar4305
    @mihir_thakkar4305 Před 2 lety

    Hello Patrick,,
    Can you please help me how to write the measure for the following:
    1) I have a date slicer and it's in the slider form where I have taken all consecutive dates from the date table.
    2) I have a Card visual where I want to Display the date which is selected in the date slicer.
    I'm not able to achieve this display.
    for eg, if date slicer selects 01/05/2020 upto 30/05/2020
    Then we want the display on card as May 1, 2020 - May 30, 2020.
    This is required because there is a hidden filter pane and the user needs to have a visual of the dates selected so that it can help them in analysis.
    Kindly help me with a measure to achieve the above.
    Thanks.

  • @MasterCamus
    @MasterCamus Před 3 lety

    Why woupd be bad to flat customer amd geography tables?

  • @ynwtint
    @ynwtint Před 3 lety

    Mann!! really THE ALBERTO .. is the measure name..

  • @chengwang411
    @chengwang411 Před 2 lety

    Your video editing skills is better than Alberto’s 😆

  • @Miketochy
    @Miketochy Před 3 lety

    1:54
    Yeah so “Alberto…has done something on this before, but see, I showed you guys a workaround long before he did”
    🎤

  • @hakrajput
    @hakrajput Před 2 lety

    Hi Abhishek,
    i am doing some of my office related work on power Bi, i need your support
    i have a table where i am applying filter it is given me the value , i want remaining unfiltered value to in same table
    Like Jamie have share of 59.9% , i want remaining share contribution too in the same table.

  • @nigelreed9330
    @nigelreed9330 Před 2 lety

    Great video - and now trying "The Alberto"
    One issue with the slicer is that if I have a "Select All" option on ta drop down slicer, "The Alberto" seemes to be ignored in a Matrix Visual that is using the slicer as a column in the matrix. All ie the values are in the matrix even though the slicer is filtered
    Is there a work around for this?
    I'll keeo hunting foe a solution too
    Thanks for the video again.