Using tuple syntax in DAX expressions

  Рет қаралды 7,968

SQLBI

SQLBI

6 ай бұрын

Use of the tuple syntax in DAX expressions to simplify comparisons involving two or more columns, like month and year.
Article and download: sql.bi/826262?aff=yt
How to learn DAX: www.sqlbi.com/guides/dax/?aff=yt
The definitive guide to DAX: www.sqlbi.com/books/the-defin...

Пікірлер: 17
@sanjeevgupta7177
@sanjeevgupta7177 Күн бұрын
What a insightful content. Thanks to SQLBI
@holahandstrom
@holahandstrom 6 ай бұрын
Excellent summary of what is possible with the different DAX-expressions, and when to use which.
@mnowako
@mnowako 6 ай бұрын
Marvelous lesson. I don’t know how I could not know it before :) Thank you Marco and SQLBI Team!
@SQLMonger
@SQLMonger 6 ай бұрын
Excellent presentation and examples! Gave me some MDX chills seeing tuples used like this.
@yippiekyoo
@yippiekyoo 6 ай бұрын
It is super helpful that you showed how to use the technique with 2 dimension tables. Really awesome job!
@kopite833
@kopite833 6 ай бұрын
This is so cool, I can definitely use these techniques to simplify and optimise some existing and future queries
@Mark-zs9sm
@Mark-zs9sm 6 ай бұрын
Great video. I will start using these techniques right away.
@ar6715
@ar6715 6 ай бұрын
Amazing..!!
@mathew9665
@mathew9665 6 ай бұрын
at 12:17 noted issue with the code for the dynamic table - the MAX values for Low match the min value for Med, also the same issue between Medium & High - if you applied this you would either get an error or more than 1 price range (depending on how you use that type of table) Love the rest of the video content
@KedielSanchezMariano
@KedielSanchezMariano 6 ай бұрын
Thanks!!! Always learning something new.
@navisalomi
@navisalomi 6 ай бұрын
This is absolutely awesome 🎉❤
@timothytim1053
@timothytim1053 2 ай бұрын
How did you get that DAX evaluator thing to appear in the left hand side where tables/relationships are?
@anilkapkoti296
@anilkapkoti296 6 ай бұрын
@vijayvizzu1
@vijayvizzu1 5 ай бұрын
Can we able to apply this technique in multiple tables, like we are summarizing records from a single table and matching the tuples, but what if we need to pass the tuple to multi tables by using summarize columns, will this still works ?
@SQLBI
@SQLBI 5 ай бұрын
Look at the last example of the article/video, it seems matching your requirement.
@williamarthur4801
@williamarthur4801 6 ай бұрын
Felice Anno Nuovo, First watch of you this year. How would you write this for CONTAINSROW, a function I find endlessly confusing, not sure why, so example ; EVALUATE FILTER ( ALL ( Table2 ), CONTAINSROW ( {"Red","Blue"}, [Color] ) ) EVALUATE FILTER ( ALL ( Table2 ), CONTAINSROW ( {"Red","A"} , [Color], [Item] ) ) I've tried various options for the above none of which work, any ideas, I've also found this re CALCULATETABLE; EVALUATE VAR ValuesV = CALCULATETABLE( ALL(Table2[Item] ), Table2[Color] IN { "Red", "Green"} ) VAR anser1 = CALCULATETABLE( All( Table2), [Item] IN ValuesV ) VAR anser2 = FILTER( ALL( Table2) , [Item] IN ValuesV ) RETURN anser1 The filter works ; answe2 , but not as Calc table, if this is in 'The Book', please let me know. Best wishes and success.
@SQLBI
@SQLBI 6 ай бұрын
The ALL in anser1 is removing the filter, if you use CALCULATETABLE ( Table2, ... ) then it should work.
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 34 М.
Understanding the IN operator in DAX
15:48
SQLBI
Рет қаралды 7 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 5 МЛН
Despicable Me Fart Blaster
00:51
_vector_
Рет қаралды 23 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 31 МЛН
Optimizing callbacks in a SUMX iterator
14:10
SQLBI
Рет қаралды 6 М.
Differences between DATEADD and PARALLELPERIOD in DAX
40:49
Power BI Real Time Dashboard using PubNub
6:43
Free Training Videos
Рет қаралды 241
Generics: The most intimidating TypeScript feature
18:19
Matt Pocock
Рет қаралды 167 М.
Propagating filters using TREATAS in DAX
19:18
SQLBI
Рет қаралды 44 М.
Understanding data lineage in DAX
18:14
SQLBI
Рет қаралды 29 М.
Optimizing time intelligence in DirectQuery
18:09
SQLBI
Рет қаралды 5 М.
Solving errors in CALCULATE filter arguments
30:55
SQLBI
Рет қаралды 27 М.
Expanded Table - The Whiteboard #04
14:02
SQLBI
Рет қаралды 13 М.
Row Context in DAX
20:42
SQLBI
Рет қаралды 95 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1,8 МЛН
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 4,2 МЛН