Filter context in DAX explained visually

Поделиться
HTML-код
  • Опубликовано: 22 дек 2024

Комментарии • 72

  • @ShrikanthP-je4ki
    @ShrikanthP-je4ki 2 месяца назад +3

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

  • @Bremerhaven_Rocks
    @Bremerhaven_Rocks 6 месяцев назад +12

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

  • @kh884488
    @kh884488 25 дней назад +1

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

  • @Data-v1q
    @Data-v1q 2 месяца назад +2

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

  • @gvitullib
    @gvitullib 6 месяцев назад +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.

  • @sujudfitrialais.kom.3945
    @sujudfitrialais.kom.3945 4 дня назад +1

    Thank you, SQLBI! Great explanation

  • @will_will777
    @will_will777 6 месяцев назад +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!

  • @SIWei-vv3xl
    @SIWei-vv3xl 4 месяца назад +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 ! 💐💐

  • @jorrellbonner5303
    @jorrellbonner5303 6 месяцев назад +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!

  • @dangnguyen5465
    @dangnguyen5465 6 месяцев назад +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.

  • @khaoa7214
    @khaoa7214 6 месяцев назад +1

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

  • @manthanmistry1205
    @manthanmistry1205 6 месяцев назад +1

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

  • @aaronrobertcoughlan
    @aaronrobertcoughlan 6 месяцев назад +1

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

  • @RubenCarlosCalderonValladares
    @RubenCarlosCalderonValladares 6 месяцев назад +1

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

  • @IsaiahJones-ty1tx
    @IsaiahJones-ty1tx 6 месяцев назад +1

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

  • @carltonseymour869
    @carltonseymour869 6 месяцев назад +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

  • @geopolityk1160
    @geopolityk1160 6 месяцев назад +1

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

  • @adityakumarsrivastav3677
    @adityakumarsrivastav3677 6 месяцев назад +1

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

  • @skv4611
    @skv4611 6 месяцев назад +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.

  • @baskis69
    @baskis69 6 месяцев назад +1

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

  • @anoopdube9581
    @anoopdube9581 6 месяцев назад +1

    Fantabulous way to explain filter context. Love it

  • @faisalag9611
    @faisalag9611 6 месяцев назад +2

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

    • @SQLBI
      @SQLBI  6 месяцев назад +3

      Coming in July/August!

  • @th3n0rthsid3
    @th3n0rthsid3 6 месяцев назад +3

    The visuals (Whiteboard) really helped, thanks!

  • @Han-ve8uh
    @Han-ve8uh 6 месяцев назад

    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/

  • @DeronHuskey
    @DeronHuskey 6 месяцев назад +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.

  • @manjunatharalikatti2202
    @manjunatharalikatti2202 3 месяца назад +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

  • @borisev1097
    @borisev1097 6 месяцев назад +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!

  • @yosephtavianusandreas1980
    @yosephtavianusandreas1980 7 дней назад

    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

  • @lmblancoancos
    @lmblancoancos 6 месяцев назад +1

    Thank you very much Marco. Fantastic explanation as always 😄

  • @radu_sirbu
    @radu_sirbu 6 месяцев назад +1

    great video! please, keep doing these visual representations.

  • @manggnorora
    @manggnorora 6 месяцев назад +1

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

  • @salosteysv
    @salosteysv 6 месяцев назад +1

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

  • @marcelolacoppola7163
    @marcelolacoppola7163 6 месяцев назад +1

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

  • @marupbi
    @marupbi 6 месяцев назад +2

    Ottimo lavoro, come sempre!

  • @felipe7x
    @felipe7x 2 месяца назад +1

    what a great explanation, Thank you

  • @ceciliocbaroperez8815
    @ceciliocbaroperez8815 6 месяцев назад +1

    Marvellous explanation! Many thanks!

  • @ynwtint
    @ynwtint 5 месяцев назад +1

    Thanks. Enjoying DAX.

  • @sindibad602
    @sindibad602 6 месяцев назад +2

    Finally the so waited pedagogical paradigme shift from Sqlbi

  • @jimminyjohnson
    @jimminyjohnson 2 дня назад

    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  День назад

      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.

  • @prasadp2878
    @prasadp2878 6 месяцев назад +1

    Awesome explanation. Loved it.❤❤

  • @RobertoStaltari
    @RobertoStaltari 6 месяцев назад +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 😢

  • @ivanrybalchenko7225
    @ivanrybalchenko7225 6 месяцев назад +1

    Brilliant explanation!

  • @TomGee-n1n
    @TomGee-n1n 6 месяцев назад

    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/

  • @michelfigueredoamieva9549
    @michelfigueredoamieva9549 4 месяца назад +1

    Amazing explanation. Thanks!!

  • @mathew9665
    @mathew9665 6 месяцев назад +1

    Nicely done Marco

  • @avecNava
    @avecNava 6 месяцев назад +1

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

  • @tibibara
    @tibibara 6 месяцев назад +1

    Brilliant tutorial, thanks!

  • @GuiSaviolo
    @GuiSaviolo 6 месяцев назад

    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  6 месяцев назад

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

  • @Davide73
    @Davide73 6 месяцев назад

    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  6 месяцев назад

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

    • @Davide73
      @Davide73 6 месяцев назад

      @@SQLBI Thank you!

  • @techspark001
    @techspark001 Месяц назад

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

  • @manuprakash1989
    @manuprakash1989 4 месяца назад +1

    Well explained sir!!! Thank you!!

  • @fpa89
    @fpa89 6 месяцев назад +1

    Very nice video and well produced

  • @tuliomazzarotto2588
    @tuliomazzarotto2588 3 месяца назад +2

    Phenomenal

  • @JBartlett_DMU
    @JBartlett_DMU 6 месяцев назад +1

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

  • @marcellinehouabolet8273
    @marcellinehouabolet8273 6 месяцев назад +1

    Fantastic!

  • @dg_calderon
    @dg_calderon 6 месяцев назад

    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  6 месяцев назад +1

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

  • @ceyhunozturk5115
    @ceyhunozturk5115 5 месяцев назад +1

    Thanks.

  • @datareggibi
    @datareggibi 6 месяцев назад +1

    bravo¡ SQLBI

  • @manikantabalusa6896
    @manikantabalusa6896 6 месяцев назад +3

    Row context visually please 😂

    • @SQLBI
      @SQLBI  6 месяцев назад +2

      Coming in July/August!

  • @siddharthakar7190
    @siddharthakar7190 2 месяца назад

    Not clear

  • @83Danielps
    @83Danielps 6 месяцев назад +1

    Tchau