Filter context in DAX explained visually

Поділитися
Вставка
  • Опубліковано 17 січ 2025

КОМЕНТАРІ • 73

  • @timbrykkk
    @timbrykkk 10 днів тому +1

    "Filter is a table" - i so needed to hear this! Thank You so much!

  • @Bremerhaven_Rocks
    @Bremerhaven_Rocks 7 місяців тому +12

    Love those visual representation. Truly a picture is worth a thousand words. Combined with clear and precise explanation. Priceless.

  • @ShrikanthP-je4ki
    @ShrikanthP-je4ki 3 місяці тому +3

    Visually representing the Filter context is a great way to understand the filter/data flow. Thank you for the great explanation.

  • @gvitullib
    @gvitullib 7 місяців тому +6

    Thanks for this article/video Marco. Filter context can be complicated, even for expert Dax developers. Articles like this are a must, getting back to the basics.

  • @will_will777
    @will_will777 7 місяців тому +2

    Thank you very much for the content. I believe that many of us who work with BI understand it better when it is explained visually.
    Screenshots, calculated results and drawings are quicker to understand than long tutorials in real time.
    For more videos like this! Thank you for this gift!

  • @Data-v1q
    @Data-v1q 2 місяці тому +2

    This is such an spectacular explanation. You are a fantastic teacher. Thank you!

  • @aaronrobertcoughlan
    @aaronrobertcoughlan 7 місяців тому +1

    Clearest explaination for this concept I have ever seen! Thanks guys, this is great

  • @SIWei-vv3xl
    @SIWei-vv3xl 5 місяців тому +1

    Accidentally discoverd this Channel. I'd say that the in-depth explanation of how DAX work is excellent ! Thank you very much for you work ! 💐💐

  • @khaoa7214
    @khaoa7214 7 місяців тому +1

    You don't know how much I needed this video at this particular moment!

  • @carltonseymour869
    @carltonseymour869 7 місяців тому +1

    What an awesome graphical explanation of Filter context. Key is the Initial context and then the Target context and then using the correct CALCULATE measure

  • @jorrellbonner5303
    @jorrellbonner5303 7 місяців тому +2

    Wow. I never comment on videos, but this one was actually very, very helpful. Yes. More colorful, simple visuals to convey complex info. :) Kudos!

  • @IsaiahJones-ty1tx
    @IsaiahJones-ty1tx 7 місяців тому +1

    Absolute legends! This is a wonderful resource to learn from and especially to share with new developers!

  • @RubenCarlosCalderonValladares
    @RubenCarlosCalderonValladares 6 місяців тому +1

    Very clear explanation of an often bypassed topic by beginners. Excellent content as always!

  • @kh884488
    @kh884488 Місяць тому +1

    For a visual learner like me, this is very helpful!

  • @manthanmistry1205
    @manthanmistry1205 7 місяців тому +1

    As always you videos are blessing for people like me who are starting to learn and really understand DAX better. Thanks ❤

  • @geopolityk1160
    @geopolityk1160 7 місяців тому +1

    This is beatiful. You are stepping up your visauls game. Way to go, looking forward to more!

  • @sujudfitrialais.kom.3945
    @sujudfitrialais.kom.3945 Місяць тому +1

    Thank you, SQLBI! Great explanation

  • @baskis69
    @baskis69 7 місяців тому +1

    Un video spettacolare... Marco spiega in modo magistrale¡¡¡

  • @dangnguyen5465
    @dangnguyen5465 7 місяців тому +2

    Really like the new way you presented in this video. The visuals make things very clear and easy to understand. I hope you can do more videos like this in the future. All your videos are good, but this could be even better.

  • @anoopdube9581
    @anoopdube9581 7 місяців тому +1

    Fantabulous way to explain filter context. Love it

  • @th3n0rthsid3
    @th3n0rthsid3 7 місяців тому +3

    The visuals (Whiteboard) really helped, thanks!

  • @salosteysv
    @salosteysv 7 місяців тому +1

    Thanks for such a detailed explanation! Very useful and interesting.

  • @skv4611
    @skv4611 7 місяців тому +1

    Cheers sqlbi team, these explanations are mind-blowing. All the time in my bi journey, i could make sense of the actions behind the scenes of the filter context but felt hard to contemplate. Today it's head on.

  • @adityakumarsrivastav3677
    @adityakumarsrivastav3677 7 місяців тому +1

    Most awaited video. BDW I have read your DAX book. Thanks❤

  • @ceciliocbaroperez8815
    @ceciliocbaroperez8815 6 місяців тому +1

    Marvellous explanation! Many thanks!

  • @lmblancoancos
    @lmblancoancos 7 місяців тому +1

    Thank you very much Marco. Fantastic explanation as always 😄

  • @manggnorora
    @manggnorora 7 місяців тому +1

    Thank you so much, it helped clear up a lot of confusion about filters.

  • @radu_sirbu
    @radu_sirbu 6 місяців тому +1

    great video! please, keep doing these visual representations.

  • @felipe7x
    @felipe7x 3 місяці тому +1

    what a great explanation, Thank you

  • @marcelolacoppola7163
    @marcelolacoppola7163 7 місяців тому +1

    Great video !!! Thanks for sharing, Marcelo, Buenos Aires, Argentina

  • @DeronHuskey
    @DeronHuskey 7 місяців тому +1

    I still get wrapped around the axle sometimes when it comes to filter context. This video helped to clear a few things up.
    Thanks.

  • @prasadp2878
    @prasadp2878 7 місяців тому +1

    Awesome explanation. Loved it.❤❤

  • @faisalag9611
    @faisalag9611 7 місяців тому +2

    Nice explanation. Can we have row context and context transition videos in same format.
    Thank you

    • @SQLBI
      @SQLBI  7 місяців тому +3

      Coming in July/August!

  • @ynwtint
    @ynwtint 6 місяців тому +1

    Thanks. Enjoying DAX.

  • @marupbi
    @marupbi 7 місяців тому +2

    Ottimo lavoro, come sempre!

  • @michelfigueredoamieva9549
    @michelfigueredoamieva9549 5 місяців тому +1

    Amazing explanation. Thanks!!

  • @tibibara
    @tibibara 6 місяців тому +1

    Brilliant tutorial, thanks!

  • @ivanrybalchenko7225
    @ivanrybalchenko7225 6 місяців тому +1

    Brilliant explanation!

  • @manuprakash1989
    @manuprakash1989 5 місяців тому +1

    Well explained sir!!! Thank you!!

  • @sindibad602
    @sindibad602 6 місяців тому +2

    Finally the so waited pedagogical paradigme shift from Sqlbi

  • @mathew9665
    @mathew9665 7 місяців тому +1

    Nicely done Marco

  • @Han-ve8uh
    @Han-ve8uh 7 місяців тому

    This video shows how to make changes to filter contexts, but how do we know what the initial filter context is?
    Is it always explicitly defined in a measure? I'm concerned certain visuals or default summarization settings implicitly define contexts that can't be easily seen by clicking measures and seeing their dax formulas.
    For example if i come across a visual, shoui ld look in the fields to find definitions of measures to understand the starting context?
    How to make sure all existing filters are accounted for exhaustively? What other places can they exist in? (This video shows filter pane is a source of existing context too)
    For overwriting/keeping contexts does it propagate through the entire lineage of definitions? For example 16:06 shows Bnechmark 2017 measure depends on another measure Sales 2017 which depends on Sales Amount.

    • @SQLBI
      @SQLBI  6 місяців тому +1

      The purpose of DAX is to enable writing measures that work in any context. You can explore the filter context for debugging purposes with the debugger integrated in Tabular Editor 3, or by creating a special measure in the tooltip (DAX Studio has a feature to create it automatically) as described in www.sqlbi.com/articles/displaying-filter-context-in-power-bi-tooltips/

  • @yosephtavianusandreas1980
    @yosephtavianusandreas1980 Місяць тому

    in 3:07 minute. i try to sum manually using calcultor. sub sum is not proper with detail number.
    i have get some condition.
    How to make it same , please advice

  • @manjunatharalikatti2202
    @manjunatharalikatti2202 4 місяці тому +1

    Nice video... great content .. Thanks..
    in the last example data from net price 600 to 999 will it appear or get filtered.. if not please provide the explanation

  • @RobertoStaltari
    @RobertoStaltari 7 місяців тому +2

    Let's not forget that if the year used from a calendar dimension table is sorted by some other column of that table, also this sorting column is part of the filter. I learned this lesson in the hard way 😢

  • @fpa89
    @fpa89 7 місяців тому +1

    Very nice video and well produced

  • @avecNava
    @avecNava 7 місяців тому +1

    Filter Context NOT a myth anymore. #SQLBI team never disappoints us.

  • @borisev1097
    @borisev1097 7 місяців тому +1

    Great explanation as always Marco. What is the reason in case I want to calculate sales amount that is not blue, but want to use color slicer and that gives me a static value and not filtered by the color slicer. Not Blue Measure = CALCULATE([Sales Amount], 'Product'[Color] "Blue"). I had to use KEEPFILTERS or FILTER in order to work and use the slicer. Thanks!

  • @GuiSaviolo
    @GuiSaviolo 7 місяців тому

    I didn't quite understand the last example. Are the net price items with value above 600 going to be used in the calculation?

    • @SQLBI
      @SQLBI  7 місяців тому

      No, because all filters (the orange one and the blue one) are active at the same time.

  • @TomGee-n1n
    @TomGee-n1n 7 місяців тому

    How do you filter a virtual table inside a measure using a selectedvalue from a disconnected slicer?
    The filtered table returns no data - as if the selectedvalue were returning multiple values - but it is not! If I put a default value in the selectedvalue variable it works as expected, and likewise if I return just the selectedvalue variable - it dynamically shows the value selected in the slicer. Yet the selected value doesn't seem to be recognized when used to filter the virtual table. Help!?

    • @SQLBI
      @SQLBI  6 місяців тому

      SELECTEDVALUE returns a single value, you should use VALUES to get all the selected values. Indeed, SELECTEDVALUE internally uses VALUES; as described in dax.guide/selectedvalue/

  • @jimminyjohnson
    @jimminyjohnson 28 днів тому

    In the last example, with both net price 1,000, you said that 'both remain'.
    Different results depending if this means they are a union or an intersection. I will test this myself eventually but can't for a few days

    • @SQLBI
      @SQLBI  26 днів тому +1

      Different filters in the filter context are always in an AND condition - remain means that you get an intersection because of the AND condition between filters.

  • @tuliomazzarotto2588
    @tuliomazzarotto2588 3 місяці тому +2

    Phenomenal

  • @ceyhunozturk5115
    @ceyhunozturk5115 6 місяців тому +1

    Thanks.

  • @marcellinehouabolet8273
    @marcellinehouabolet8273 7 місяців тому +1

    Fantastic!

  • @techspark001
    @techspark001 2 місяці тому

    why is the sum of the various amount for the colors not equal to the contoso amount

  • @datareggibi
    @datareggibi 7 місяців тому +1

    bravo¡ SQLBI

  • @Davide73
    @Davide73 7 місяців тому

    Should we always use KEEPFILTERS? My question is based on the assumption we cannot control if an user adds an external filters, for example just for filter a location or an year... if in our measure we use the "same filter", we overwrite the user filter... so isn't it safer to always use it?

    • @SQLBI
      @SQLBI  7 місяців тому

      It depends, see www.sqlbi.com/articles/best-practices-for-using-keepfilters-in-dax/

    • @Davide73
      @Davide73 7 місяців тому

      @@SQLBI Thank you!

  • @JBartlett_DMU
    @JBartlett_DMU 7 місяців тому +1

    Wow, I think I might actually kinda understand this concept now. 😅

  • @dg_calderon
    @dg_calderon 7 місяців тому

    me costo un poco seguir el video ya que lo veo con subtitulos en español, asi que lo repeti y detuve hasta entender un poco... seria muy bueno que se pudiera traducir los videos a diferentes idiomas. Saludos desde Colombia.

    • @SQLBI
      @SQLBI  7 місяців тому +1

      We evaluated that, but it's too expensive for now. UA-cam will likely implement not too far in the future.

  • @manikantabalusa6896
    @manikantabalusa6896 7 місяців тому +3

    Row context visually please 😂

    • @SQLBI
      @SQLBI  7 місяців тому +2

      Coming in July/August!

  • @83Danielps
    @83Danielps 7 місяців тому +1

    Tchau

  • @siddharthakar7190
    @siddharthakar7190 3 місяці тому

    Not clear