Replacing relationships with join functions in DAX

  Рет қаралды 10,889

SQLBI

SQLBI

6 ай бұрын

How to join tables in DAX when there are no relationships in the data model. The data lineage plays an essential role in this scenario.
Article and download: sql.bi/824174?aff=yt
How to learn DAX: www.sqlbi.com/guides/dax/?aff=yt
The definitive guide to DAX: www.sqlbi.com/books/the-defin...

Пікірлер: 25
@teigenxayden
@teigenxayden 2 ай бұрын
Thx Marcos for your share of DAX,you are so great!
@clerincg
@clerincg 6 ай бұрын
I watched your first video on DAX joining and tried to implement. I failed because I didn't evaluate the two tables and had no common fields in the variables. Then, I would have encountered the Data Lineage issue as well. Now, thanks to this companion video, I was able to get my DAX joins to work! Thank you, Marco! I think it's important that, somehow, you need to firmly instruct viewers to watch BOTH videos in order to implement a working DAX join solution with variables.
@luisfernandomacedo1451
@luisfernandomacedo1451 6 ай бұрын
Marcos, each piece of video you release is a MasterClass, and I learn great deal. Muito Obrigado!
@mnowako
@mnowako 6 ай бұрын
Happy New Year 2024! I was waiting for this topic and I got it :) Thank you!
@tibobago
@tibobago 6 ай бұрын
Grazie Marco !
@brunof.s.8186
@brunof.s.8186 6 ай бұрын
So, what's up with the final 5 minutes? was expecting a cut scene just like in marvel movies
@marcorusso7472
@marcorusso7472 6 ай бұрын
We fixed it - thanks!
@user-ts9kk4nd4w
@user-ts9kk4nd4w 6 ай бұрын
Good video! But, what is the reason to use NaturalJoin in DAX? There are generate, generateall, treatas functions. Is there a difference in performance?
@marcorusso7472
@marcorusso7472 6 ай бұрын
See my other comments - they should not be used, but the name invites people coming from SQL to use them, resulting in strange behavior I tried to explain in the video. However, the join functions could be faster than generate equivalent when the condition is a complete matching of the columns with the same lineage/name. It should be rare to use them, though.
@totvabe1
@totvabe1 6 ай бұрын
Fantastic! PS: The last 5 minutes of the video are superfluous, they are empty.
@marcorusso7472
@marcorusso7472 6 ай бұрын
We fixed it - thanks!
@nikakalichava8012
@nikakalichava8012 6 ай бұрын
really awesome but what is the use? I don't really see any possible cases where I would use this?
@marcorusso7472
@marcorusso7472 6 ай бұрын
It depends - they should not be used often, but I used them when I had to create transformations on the fly in a measure without being able to use relationships in the model.
@Charlie888
@Charlie888 6 ай бұрын
Great!
@mohsenhosseini2138
@mohsenhosseini2138 6 ай бұрын
Why the last 5 minutes are just a black screen?!
@marcorusso7472
@marcorusso7472 6 ай бұрын
We fixed it - thanks!
@galymzhankenesbekov7242
@galymzhankenesbekov7242 6 ай бұрын
Thank you for the awesome video as usual. Could you please say what version of Power BI Desktop do you use? I have installed Power BI Desktop (release of December 23') but the interface of your PB and mine are different. Thanks
@marcorusso7472
@marcorusso7472 6 ай бұрын
Check the preview features, probably you didn't enable some of the latest features such as the query view.
@JuanBretti
@JuanBretti 6 ай бұрын
Thank you for the video and article. By the way, the video after 18:10 is completely black.
@marcorusso7472
@marcorusso7472 6 ай бұрын
We fixed it - thanks!
@douglascory
@douglascory 6 ай бұрын
Pardon me if this was explained somewhere else, but how to use the table presentes at the 8:47 timestamp? As in, yes you've created in the query view, but that is "just for show", how to ACTUALLY add such table to the model?
@marcorusso7472
@marcorusso7472 6 ай бұрын
You can use the code after EVALUATE and assign it to a calculated table. However, by doing that, you would have all the tables in memory, if you can apply the transformation upfront is better. This video explains how to use the join function in particular cases, for example when you cannot change the model but only query it.
@arklur3193
@arklur3193 6 ай бұрын
I was kinda hoping the last ~5m will contain some spoilers like in Marvel movies 😁.
@marcorusso7472
@marcorusso7472 6 ай бұрын
We fixed it - thanks!
@RobertoStaltari
@RobertoStaltari 6 ай бұрын
I've stopped watching Netflix series in favor of Marco Russo's videos 😉
Using tuple syntax in DAX expressions
32:24
SQLBI
Рет қаралды 8 М.
When are variables evaluated in DAX
26:36
SQLBI
Рет қаралды 7 М.
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 31 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Anton Putra
Рет қаралды 123 М.
Improve data labels with format strings
21:21
SQLBI
Рет қаралды 8 М.
Using join functions in DAX
40:30
SQLBI
Рет қаралды 10 М.
Row Context in DAX
20:42
SQLBI
Рет қаралды 95 М.
Understanding data lineage in DAX
18:14
SQLBI
Рет қаралды 29 М.
Optimizing time intelligence in DirectQuery
18:09
SQLBI
Рет қаралды 5 М.
3 Essential Excel skills for the data analyst
18:02
Access Analytic
Рет қаралды 1,5 МЛН
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 34 М.
Телефон-електрошокер
0:43
RICARDO 2.0
Рет қаралды 1,3 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 6 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 58 МЛН
СТРАШНЫЙ ВИРУС НА МАКБУК
0:39
Кринжовый чел
Рет қаралды 1,5 МЛН
Зачем ЭТО электрику? #секрет #прибор #энерголикбез
0:56
Александр Мальков
Рет қаралды 630 М.