Тёмный

Understanding data lineage in DAX 

SQLBI
Подписаться 103 тыс.
Просмотров 30 тыс.
50% 1

What is data lineage in DAX? How does it work? How can you write better DAX code knowing it? Article and sample download: sql.bi/76325?aff=yt
How to learn DAX: www.sqlbi.com/guides/dax/?aff=yt
The definitive guide to DAX: www.sqlbi.com/books/the-defin...

Наука

Опубликовано:

 

3 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@JohnSullivan1
@JohnSullivan1 3 года назад
Just when I think I am beginning to understand a little DAX I watch one of Alberto's videos and I realize I know nothing. Bravo Alberto! Another great video.
@albertoferrari6893
@albertoferrari6893 3 года назад
Sorry, but I cannot help replying "You know nothing, John Sullivan!" :) Hope you watched game of thrones, no flames intended, but this sentence circles in my mind since I read your comment :D
@JohnSullivan1
@JohnSullivan1 3 года назад
@@albertoferrari6893 If only my name was Jon Snow.:) Thanks Alberto. Please keep up the phenomenal work that you, Marco and your staff at SQLBI do.
@gulhermepereira249
@gulhermepereira249 3 года назад
Same here.. He solves problems that I haven't even came across
@rajunagavelli007
@rajunagavelli007 4 месяца назад
I really do not find words to say, you are the master of DAX. Kudos
@AdiCristea
@AdiCristea 3 года назад
10:51 "and it's actually easier if we try to do that together" - THAT IS what I've been telling my manager all this time, bring Alberto or Marco in, DAX issues will get so much easier when working together; he said no :). Thank you, Alberto, another absolutely great video about DAX!
@DanielADamico
@DanielADamico 3 года назад
Every day with new and awesome videos!! Thank you so much for sharing!
@cristianosecci7729
@cristianosecci7729 3 года назад
Great video Alberto! Very well explained, and it opens up a lot of possibilities of doing work in a scalable way!
@amarnadhgunakala2901
@amarnadhgunakala2901 3 года назад
That's great vid, now I get what needs to be done for my PBI report.Thanks SQLBI
@mouhcinebouzrar8540
@mouhcinebouzrar8540 2 года назад
It's a very deep understanding, thanks for your effort !
@ChetanAdivinnavar
@ChetanAdivinnavar 3 года назад
Great learning.. Thanks much Alberto
@mwaltercpa
@mwaltercpa 2 года назад
Great to know that an expression in a table expression will break lineage, and that TREATAS can restore it. TREATAS is my best friend in a pinch :)
@Elkhamasi
@Elkhamasi 2 года назад
Now I understand TREATAS after several iterations of reading and watching
@tangtom2478
@tangtom2478 3 года назад
nice video! thank you!
@ClubSoundsForever
@ClubSoundsForever 3 года назад
Great, Thank you!
@peterbogdanovich4043
@peterbogdanovich4043 3 года назад
Yes, I am enjoying DAX...
@gabrielmorais7312
@gabrielmorais7312 3 года назад
NO CONTOSO! Great one, as usual.
@mwaltercpa
@mwaltercpa 6 месяцев назад
Thanks for this great video Alberto! I worked through this from a time intelligence perspective wanting to try a list of Calendar month seq numbers shifted back by 1. I called this column “NewSeqNum”. As you point out, this column expression breaks lineage, and can’t be used to *define* filter context… However I am able to call these same new column values within a CALCULATE measure to *modify* filter context. Is this correct? CALCULATE([Sales], FILTER(ALL(Calendar), Calendar[Mo Seq#] = NewSeqNum))
@manmeetsinghji
@manmeetsinghji 3 года назад
Great Video!!! Can you kindly also explain the concept of Expanded Tables with Industrial Standard examples?
@SQLBI
@SQLBI 3 года назад
See www.sqlbi.com/articles/expanded-tables-in-dax/
@meloshamefull7492
@meloshamefull7492 2 года назад
Is there a video that will present 10 rows of measures and allow the columns for monthly past totals
@daniellopez711
@daniellopez711 3 года назад
Great video once again! One question, why use VALUES() before certain columns?
@SQLBI
@SQLBI 3 года назад
It is a way to retrieve data active in filter context.
@danc91111
@danc91111 3 года назад
Does the treatas applied to multiple columns in the model cause in the SE query somehow it to generate a crossjoin to be able to filter the context on the fact table? Given that, if we do the same for two big dimensions (not date as the second dimension), will it cause performance impacts?
@SQLBI
@SQLBI 3 года назад
TREATAS is managed by the formula engine. You will not see a single SE query with a join, you will see at least two different SE queries, one of them with the list of tuples used in the WHERE condition. Performance might depend on many factors - as usual, measure it in your specific scenario.
@sqldata6273
@sqldata6273 3 года назад
At 11:49 , why the column name in addcolumn() is preceded with "@" e.g. "@FirstSale"? Thanks.
@SQLBI
@SQLBI 3 года назад
It is explained here: www.sqlbi.com/articles/naming-temporary-columns-in-dax/
@AlbertoGastaldo
@AlbertoGastaldo 3 года назад
Hello Alberto, one question : when you used TREATAS with the BrandNewNameCorrectLineage, " *NO CONTOSO* " disappeared from the final query results. My question is : the row is not visible because the measure [Amt] for that Brand was BLANK.... or the row is not visible because TREATAS itself removed it from the BrandNewNameCorrectLineage variable as it's not an existing Brand ? My answer would be the first one.... Thanks Alberto
@AlbertoGastaldo
@AlbertoGastaldo 3 года назад
Sorry, rows are actually removed by TREATAS itself :-)
@luisedugarridosoares
@luisedugarridosoares 3 года назад
Cio Alberto! Amazing Video! DAX Training courses are online? I mean, not recorded videos, that we can interact with you during the training or we have the both options? I am located in Germany. Thanks!
@SQLBI
@SQLBI 3 года назад
Our experience is that online training does not work well for interactivity. We tried, but the interaction is minimal and it it way better to use the platform we have, with recorded video training, exercises, and discussion area. The course is cheaper this way and you can invest more in remote consulting if you still need direct assistance.
@luisedugarridosoares
@luisedugarridosoares 3 года назад
@@SQLBI Thanks Alberto!
@NyeinChanAung99
@NyeinChanAung99 2 года назад
How can we set the data lineage if the table variable has more than one column i.e how to reference that column of table veritable to be treated as a column from the original table.
@SQLBI
@SQLBI 2 года назад
Use TREATAS with more parameters - see dax.guide/treatas/
@christianstork1049
@christianstork1049 2 года назад
Are there any ways in DAX(Studio) to *explicitly* examine the data lineage of a column? To me, it seems that the didactic problem is that lineage is very much hidden from the user and any way to make it visible would help.
@SQLBI
@SQLBI 2 года назад
Unfortunately it is not possible without a full DAX Parser, which DAX Studio doesn't have yet.
@christianstork1049
@christianstork1049 2 года назад
@@SQLBI Hmm, do you really mean a DAX *Parser*? I don't see how the lineage is revealed syntactically. Anyway, thanks for the prompt reply! :-)
@felipesignorellireis7839
@felipesignorellireis7839 3 года назад
Hard for me.
@SQLBI
@SQLBI 3 года назад
This is a more advanced topic, if you're new to DAX come back to this video in a few months!
@felipesignorellireis7839
@felipesignorellireis7839 3 года назад
@@SQLBI Thanks Alberto. There is a lot to learn.
@cesarsaldana3429
@cesarsaldana3429 Год назад
Mr. Ferrari, he did not know how to explain the causes that break the lineage. It is a pity so many years of experience and he did not know how to transmit it. that was the important thing about this video, restoring it is the least. but what really breaks it?
@SQLBI
@SQLBI Год назад
It's in the video, but if you missed it, you can also find the explanation in the related article: any expression other than a simple column reference breaks the data lineage. www.sqlbi.com/articles/understanding-data-lineage-in-dax/
Далее
Row Context in DAX
20:42
Просмотров 93 тыс.
Optimizing nested iterators in DAX
17:31
Просмотров 20 тыс.
100 million nasib qilsin
00:18
Просмотров 645 тыс.
Working below a DAX formula’s granularity
15:16
Просмотров 19 тыс.
Compute a ranking based on multiple columns
22:59
Просмотров 55 тыс.
Differences between GROUPBY and SUMMARIZE
28:30
Просмотров 33 тыс.
Variables in DAX
16:46
Просмотров 32 тыс.
When to use KEEPFILTERS over iterators
18:56
Просмотров 47 тыс.
Understanding context transition
18:25
Просмотров 64 тыс.
Understanding Data Lineage
17:31
Просмотров 31 тыс.
Bidirectional relationships and ambiguity
14:02
Просмотров 99 тыс.
Using ALLEXCEPT vs ALL VALUES
13:35
Просмотров 52 тыс.
Улучшил свои Apple Watch!
0:25
Просмотров 37 тыс.
Это спасёт камеру iPhone
0:32
Просмотров 426 тыс.