Filter Context in DAX

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

ความคิดเห็น • 48

  • @tyronefrielinghaus3467
    @tyronefrielinghaus3467 9 หลายเดือนก่อน +3

    The step by step and zooming in are fantastic. Much better to go slow, but thoroughly.

  • @mikeycbd
    @mikeycbd ปีที่แล้ว +3

    Excellent. I went straight to my dashboard and grabbed the code, it's much easier to understand after following your courses.

  • @TheBallboy2010
    @TheBallboy2010 2 ปีที่แล้ว +7

    Mannnn! I was just banging my head against the wall reading " The Definitive Guide to Tax." But now, having watched this, I wanna go and explain it to everyone. Great clarification. Looking forward to Context transition and the bastard invisible Calculate in measures and dependencies.

  • @karannchew2534
    @karannchew2534 2 ปีที่แล้ว +10

    Notes for revision.
    13:03
    Filter context is automatically propagated from a table to another,
    following the relationship.
    Arrow of relationship indicates propagation of filter context.
    Filterable (broken down) based on related table:
    filtering the Product, Customer and Dates table.
    ---
    *Filter,**Measure,**Calculate*
    First, we define a measure:
    Sales Amt =
    SUMX( Sales,
    Sales[qty] * Sales[price] )
    Then use the measure in calculate, that can include filters.
    CALCULATE (
    [Sale Amt],
    Customer [continent]="Europe")
    Here, Sales table, included in [Sale Amt], will first be filtered by whatever in the visual filter.
    Then, the additonal filter in this calculate i.e. Customer [continent]="Europe") is applied to the table.
    Only then SUMX run its expression (row by row).

  • @mmmommm237
    @mmmommm237 2 ปีที่แล้ว +1

    Ye, this is the best DAX channel without a doubt! Ty Mr. Ferrari!

  • @kebincui
    @kebincui 6 หลายเดือนก่อน +1

    Excellent explantaion about Filter Context which is one of the key fundamental concepts in DAX. Thanks Alberto

  • @gborka
    @gborka 2 ปีที่แล้ว +5

    Thank you for sharing, really great idea to build the understanding layer by layer:
    *Row Context
    *Filter Context
    *CALCULATE Function
    *Context Transition

  • @danew637
    @danew637 2 ปีที่แล้ว +3

    Thank you sir , I’ve been developing SSAS tabular cube and recently Power BI, I never throughly understand DAX language, all my development in the past involve tons of google and try and error.. I really appreciate this series of tutorial you put out, I’m re-learning the fundamental and syntax start to make sense !

  • @augustotanaka
    @augustotanaka 2 ปีที่แล้ว +4

    Excellent video, simple and straight to the point, taking into consideration all the relevant related topics

  • @kunwang2279
    @kunwang2279 2 ปีที่แล้ว +10

    Really awesome material on DAX. From DAX example to Row Context, Now filter context. I assume the next video will be on Context Transition.😄😁

  • @adamsobanski1397
    @adamsobanski1397 2 ปีที่แล้ว +1

    literally got job based on these videos, thank you very much mr. Alberto

  • @elicesroman7500
    @elicesroman7500 2 ปีที่แล้ว +2

    Thanks for your dedication and enthusiasm. Brilliant Video and Learning paths - row then filter then calculate and then context transition. bravo

  • @wayneedmondson1065
    @wayneedmondson1065 2 ปีที่แล้ว +1

    Awesome explanation and discussion! Really helps to hear your description along with the examples. Many thanks. Thumbs up!!

  • @csgexec
    @csgexec 2 ปีที่แล้ว +7

    Great job! I think “Row” context is better thought of as “Record” context.

  • @oliveroshea5765
    @oliveroshea5765 2 ปีที่แล้ว +1

    more nourishing DAX goodness from SQLBI!

  • @sandeepbarge4699
    @sandeepbarge4699 2 ปีที่แล้ว +1

    Thanks!, loved the way details about filter context are covered!

  • @kunwang2279
    @kunwang2279 2 ปีที่แล้ว +1

    And congratulations on your coming 50K subscribers.

    • @SQLBI
      @SQLBI  2 ปีที่แล้ว

      Thanks! A short video about that is coming soon... :)

  • @jonathanchem
    @jonathanchem 2 ปีที่แล้ว +2

    Excellent material. Very clear and informative

  • @diegotroncozogonzalez6426
    @diegotroncozogonzalez6426 2 ปีที่แล้ว +1

    This content is pure gold
    Thanks a lot!

  • @MarciusMGSouza
    @MarciusMGSouza 2 ปีที่แล้ว +2

    Very nice explanation!

  • @cesarebellentani
    @cesarebellentani ปีที่แล้ว +1

    Grazie!!! bravissimo, chiaro come sempre!!!

  • @robertkiermasz4513
    @robertkiermasz4513 ปีที่แล้ว +1

    I like your teaching style :)

  • @mohsenabdelbaset
    @mohsenabdelbaset ปีที่แล้ว +1

    Great video👍 thanks Mr Alberto.

  • @brianligat9493
    @brianligat9493 ปีที่แล้ว +1

    Another great explanation!!

  • @luchoniv
    @luchoniv ปีที่แล้ว +1

    Thank you Alberto, excellent.

  • @karannchew2534
    @karannchew2534 ปีที่แล้ว +2

    Ciao Alberto, and Fellow Viewers,
    A question please. There was no relationship between Sales table and Customer table. The relationship was added only later, at 12:41. How did the filter *Customer[Continent]="Europe"* in [Europe Sales] work without that relationship? Please enlighten me. Thanks.

    • @BrianHurn
      @BrianHurn 11 หลายเดือนก่อน

      Notice that the model view has two tabs. The relationship between Customer and Sales was most likely alreday established on the All tables tab. The Layout 1 tab was only showing a subset of the tables in the model.

  • @vikranttyagi5232
    @vikranttyagi5232 2 ปีที่แล้ว +1

    Thanks for such an informative video.

  • @aytugokumus7537
    @aytugokumus7537 2 ปีที่แล้ว +1

    Thanks for nice video. Really helpful.
    I have a question & problem. Would be great if you can explain how to do that..
    Question ;
    I have an excel table for projects, about 100.000 rows for each project, with 10 columns that specifies the project specs. Question is ; In Power BI, i would like to choose one project then i would like to find most similar projects from main excel table according to similarity based on column data (each column will have weighted similarity factor & column context can be number & text).
    And then list them based on more similar project to less similar project by similarity score.

  • @DIGITAL_COOKING
    @DIGITAL_COOKING 2 ปีที่แล้ว +1

    great explanation Alberto !

  • @RavinderKumar-gl8cy
    @RavinderKumar-gl8cy ปีที่แล้ว

    Sir, I am having the data of sales amount having the column State and District. I have created a measure for total sales. and created 2 Slicer i.e. State and District and I have sync slicer for all the pages of the report. I have created a table with column State and Sale. If I don't selected any slicer from state then default value should be State Column and Sale Column and If I select any state the respective district of the state should come i.e. District column in place of State Column and Sale column.
    Please advise sir, how it can be done.

  • @juancarloshernandez4949
    @juancarloshernandez4949 ปีที่แล้ว

    Thank you for your explanations, I read these concepts over and over again in your book, many times I clarify doubts, but others arise. On this occasion I want to ask you about the use of measures as variables within another measure. I have done some tests and to correct the values ​​of the totals, if I use the measure that works row by row and then call it within another measure with SUMX or AVERAGEX, it corrects the error, but if I use the measure by assigning it to a variable it doesn't work for me. works. Could you explain to me what the effect is and why the difference?

    • @SQLBI
      @SQLBI  ปีที่แล้ว

      A variable is a constant, once assigned its value doesn't change. See www.sqlbi.com/articles/variables-in-dax/

  • @edgards
    @edgards 2 ปีที่แล้ว +1

    Thanks Maestro!

  • @spreadsheetinteraction1088
    @spreadsheetinteraction1088 2 ปีที่แล้ว +1

    Great video!

  • @filipzivkovic4866
    @filipzivkovic4866 2 ปีที่แล้ว +1

    Very helpful, keep it up!

  • @MrMalorian
    @MrMalorian 2 ปีที่แล้ว +1

    Perfect, thank you!

  • @Mati-kd1gl
    @Mati-kd1gl 2 ปีที่แล้ว

    Hi Alberto, could it be said, that filter context concerns only Report Mode and visualisations in PBI?

  • @abduvosidmalikov
    @abduvosidmalikov ปีที่แล้ว +1

    Thanks a lot!

  • @pbihari0214
    @pbihari0214 2 ปีที่แล้ว +1

    Thank you

  • @suttus007
    @suttus007 2 ปีที่แล้ว +1

    Hey are u related to Ferrari? Jokes aside ur videos are wonderful Please make DAX videos on all concepts Thank u

  • @Alireza-ih5vu
    @Alireza-ih5vu 2 ปีที่แล้ว +1

    Perfect

  • @Gaist-zj8tq
    @Gaist-zj8tq 2 ปีที่แล้ว

    where is the context transition video?

    • @SQLBI
      @SQLBI  2 ปีที่แล้ว +2

      Coming mid-May.

  • @zhangyue2740
    @zhangyue2740 2 ปีที่แล้ว +1

    古德古德