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 DATEADD and PARALLELPERIOD in DAX
40:49
Solving errors in CALCULATE filter arguments
30:55
SQLBI
Рет қаралды 27 М.
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,1 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 163 МЛН
Row Context in DAX
20:42
SQLBI
Рет қаралды 95 М.
Understanding data lineage in DAX
18:14
SQLBI
Рет қаралды 29 М.
Advanced Dax:  Maven Hospital Challenge
30:30
Harold Thomas
Рет қаралды 312
No More DAX? Power BI’s NEW Feature Explained (File Included)
7:30
MyOnlineTrainingHub
Рет қаралды 30 М.
Replacing relationships with join functions in DAX
18:17
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 34 М.
Understanding context transition
18:25
SQLBI
Рет қаралды 65 М.
11 Tips And Tricks To Write Better Python Code
11:00
Patrick Loeber
Рет қаралды 606 М.
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
iPhone socket cleaning #Fixit
0:30
Tamar DB (mt)
Рет қаралды 15 МЛН
EXEED VX 2024: Не өзгерді?
9:06
Oljas Oqas
Рет қаралды 47 М.
$1 vs $100,000 Slow Motion Camera!
0:44
Hafu Go
Рет қаралды 26 МЛН
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 630 М.
САМЫЙ ДОРОГОЙ ЧЕХОЛ! В стиле Mac Pro
0:35
Romancev768
Рет қаралды 129 М.