Filter Context in DAX

  Рет қаралды 75,380

SQLBI

SQLBI

Күн бұрын

Пікірлер: 49
@karannchew2534
@karannchew2534 2 жыл бұрын
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).
@tyronefrielinghaus3467
@tyronefrielinghaus3467 10 ай бұрын
The step by step and zooming in are fantastic. Much better to go slow, but thoroughly.
@mikeycbd
@mikeycbd Жыл бұрын
Excellent. I went straight to my dashboard and grabbed the code, it's much easier to understand after following your courses.
@TheBallboy2010
@TheBallboy2010 2 жыл бұрын
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.
@kayliedoe2312
@kayliedoe2312 2 жыл бұрын
same here!
@mmmommm237
@mmmommm237 2 жыл бұрын
Ye, this is the best DAX channel without a doubt! Ty Mr. Ferrari!
@kebincui
@kebincui 7 ай бұрын
Excellent explantaion about Filter Context which is one of the key fundamental concepts in DAX. Thanks Alberto
@gborka
@gborka 2 жыл бұрын
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 жыл бұрын
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 !
@elicesroman7500
@elicesroman7500 2 жыл бұрын
Thanks for your dedication and enthusiasm. Brilliant Video and Learning paths - row then filter then calculate and then context transition. bravo
@augustotanaka
@augustotanaka 2 жыл бұрын
Excellent video, simple and straight to the point, taking into consideration all the relevant related topics
@wayneedmondson1065
@wayneedmondson1065 2 жыл бұрын
Awesome explanation and discussion! Really helps to hear your description along with the examples. Many thanks. Thumbs up!!
@oliveroshea5765
@oliveroshea5765 2 жыл бұрын
more nourishing DAX goodness from SQLBI!
@adamsobanski1397
@adamsobanski1397 2 жыл бұрын
literally got job based on these videos, thank you very much mr. Alberto
@sandeepbarge4699
@sandeepbarge4699 2 жыл бұрын
Thanks!, loved the way details about filter context are covered!
@jonathanchem
@jonathanchem 2 жыл бұрын
Excellent material. Very clear and informative
@kunwang2279
@kunwang2279 2 жыл бұрын
Really awesome material on DAX. From DAX example to Row Context, Now filter context. I assume the next video will be on Context Transition.😄😁
@mohsenabdelbaset
@mohsenabdelbaset Жыл бұрын
Great video👍 thanks Mr Alberto.
@kunwang2279
@kunwang2279 2 жыл бұрын
And congratulations on your coming 50K subscribers.
@SQLBI
@SQLBI 2 жыл бұрын
Thanks! A short video about that is coming soon... :)
@robertkiermasz4513
@robertkiermasz4513 Жыл бұрын
I like your teaching style :)
@csgexec
@csgexec 2 жыл бұрын
Great job! I think “Row” context is better thought of as “Record” context.
@MarciusMGSouza
@MarciusMGSouza 2 жыл бұрын
Very nice explanation!
@diegotroncozogonzalez6426
@diegotroncozogonzalez6426 2 жыл бұрын
This content is pure gold Thanks a lot!
@cesarebellentani
@cesarebellentani Жыл бұрын
Grazie!!! bravissimo, chiaro come sempre!!!
@brianligat9493
@brianligat9493 Жыл бұрын
Another great explanation!!
@luchoniv
@luchoniv Жыл бұрын
Thank you Alberto, excellent.
@vikranttyagi5232
@vikranttyagi5232 2 жыл бұрын
Thanks for such an informative video.
@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 Жыл бұрын
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.
@DIGITAL_COOKING
@DIGITAL_COOKING 2 жыл бұрын
great explanation Alberto !
@aytugokumus7537
@aytugokumus7537 2 жыл бұрын
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.
@spreadsheetinteraction1088
@spreadsheetinteraction1088 2 жыл бұрын
Great video!
@filipzivkovic4866
@filipzivkovic4866 2 жыл бұрын
Very helpful, keep it up!
@edgards
@edgards 2 жыл бұрын
Thanks Maestro!
@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.
@MrMalorian
@MrMalorian 2 жыл бұрын
Perfect, thank you!
@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/
@abduvosidmalikov
@abduvosidmalikov 2 жыл бұрын
Thanks a lot!
@Mati-kd1gl
@Mati-kd1gl 2 жыл бұрын
Hi Alberto, could it be said, that filter context concerns only Report Mode and visualisations in PBI?
@pbihari0214
@pbihari0214 2 жыл бұрын
Thank you
@suttus007
@suttus007 2 жыл бұрын
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 жыл бұрын
Perfect
@Gaist-zj8tq
@Gaist-zj8tq 2 жыл бұрын
where is the context transition video?
@SQLBI
@SQLBI 2 жыл бұрын
Coming mid-May.
@sunnydaysMB
@sunnydaysMB Ай бұрын
boss of dax
@zhangyue2740
@zhangyue2740 2 жыл бұрын
古德古德
Introducing CALCULATE in DAX
13:57
SQLBI
Рет қаралды 84 М.
Filter context in DAX explained visually
24:40
SQLBI
Рет қаралды 29 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
What is Filter Context?
10:44
Goodly
Рет қаралды 28 М.
Row Context in DAX
20:42
SQLBI
Рет қаралды 104 М.
Context transition in DAX explained visually
27:14
SQLBI
Рет қаралды 15 М.
DAX Filter Context in 1 Hour
1:18:54
Magna Data Inc
Рет қаралды 42 М.
Context Transition in Power BI and Tricky Examples
15:06
Goodly
Рет қаралды 46 М.
Row context in DAX explained visually
21:45
SQLBI
Рет қаралды 20 М.
Understanding context transition
18:25
SQLBI
Рет қаралды 72 М.
7 reasons DAX is not easy
26:35
SQLBI
Рет қаралды 42 М.
Best practices for using KEEPFILTERS in DAX
28:24
SQLBI
Рет қаралды 13 М.