DAX Fridays! #54: Reverse engineer/ Deconstruct a DAX measure

  Рет қаралды 4,839

Curbal

Curbal

Күн бұрын

Пікірлер: 38
@excelisfun
@excelisfun 7 жыл бұрын
Yes, deconstructing any formula is such an important skill!!!
@CurbalEN
@CurbalEN 7 жыл бұрын
+ExcelIsFun and a great way to learn :) Happy Friday!! /Ruth
@MrNillock
@MrNillock 7 жыл бұрын
not just an important skill... but the best way to learn how to code in general :)
@CurbalEN
@CurbalEN 7 жыл бұрын
+Collin Taylor I am a DIY too, definitely my best way of learning :) Happy Friday and say hi to your wonderful family :) /Ruth
@dabakhbathily3359
@dabakhbathily3359 6 жыл бұрын
Whenever I come across an issue with Power BI, I watched your videos. Not only I found the answer (95%) but you always go beyond my expectation. Thanks and I meant it. Merci beaucoup.
@CurbalEN
@CurbalEN 6 жыл бұрын
Oh! Amazing feedback! thanks for taking the time to write it 😊! /Ruth
@loganathannainar4804
@loganathannainar4804 7 жыл бұрын
For new learners, you are demonstrating how to approach DAX formulas. Thank you and you are inspiring!!
@CurbalEN
@CurbalEN 7 жыл бұрын
+Loganathan Nainar Many Thanks for the feedback :) /Ruth
@eddieb8337
@eddieb8337 4 жыл бұрын
It's worth noting that Datediff with DAY parameter is NOT the same as using HOUR/24 (when using Datetime values). For example, if there were 2 dates, 1-Apr-2020 23:59 and 2-Apr-2020 00:01, the DAY version would return a result of 1 Day - even though only 2 minutes have elapsed - (the DAY parameter can be thought of as the number of midnights that have passed), the HOUR/24 version would return 0, as a 24 hour period has not yet elapsed. It's an important distinction.
@saibigdata4046
@saibigdata4046 6 жыл бұрын
Hi great video thanks, i have requirement: Do you have any video for calculate applying filter two columns,then it will show sum of two columns.
@CurbalEN
@CurbalEN 6 жыл бұрын
Hi Sai, Not sure what you mean, can you post your question in the Power Bi Community? You can get detailed help on your case there. Thanks! /Ruth
@vida1719
@vida1719 7 жыл бұрын
Really great idea to deconstructing dax! Agree with Bart Titulaer that brackets could be coloured in Power BI
@CurbalEN
@CurbalEN 7 жыл бұрын
+Vida Hi Vida, there is probably an idea in the uservoice list, make sure you give it a vote or add it if it is not there. Happy weekend! /Ruth
@ulkaulka9458
@ulkaulka9458 4 жыл бұрын
Hi ruth , all your video's are awesome . this video I want to download, but not posted in download center.
@xrayt2008rocket
@xrayt2008rocket 7 жыл бұрын
Nice video. Love your series!
@CurbalEN
@CurbalEN 7 жыл бұрын
+xrayt2008rocket Thanks ( for watching and the feedback) and happy Friday ;) /Ruth
@NorbertoVeraReatigaNVR
@NorbertoVeraReatigaNVR 7 жыл бұрын
Super buen video!!1 Muchas gracias Ruth, como siempre nos haces fácil la comprensión del lenguaje DAX!!!. Tu canal ya esta entre mis buenos hábitos!!!
@CurbalEN
@CurbalEN 7 жыл бұрын
+Norberto Vera Reatiga Muchas Gracias a ti por apoyarme desde el principio. Un placer que aún sigas conmigo :) /Ruth
@Bristerireland
@Bristerireland 7 жыл бұрын
Hi - great video again thanks. You might consider changing the title to "Deconstruct a DAX Calculated Column". The approach you've outlined only works because the DAX expression is actually for a Calculated Column (that is added to the table), not a DAX measure (that is evaluated dynamically on a visualisation based on the filter context imposed). People who haven't yet mastered the conceptual differences between a DAX Calculated Column and a DAX Measure could become confused. Keep up the great work!!
@CurbalEN
@CurbalEN 7 жыл бұрын
+Brian Mather Hi Brian, True, the example is done with a calculated column because it is easier to visualize for the example, but the approach I use is the same for measures. The trick is to understand what “tables”/ columns are being passed to the DAX function and the way to see them for me is the same. I will do another example in the future with a measure. Thanks for the feedback I do understand what you mean :) /Ruth
@fredrikvestin752
@fredrikvestin752 5 жыл бұрын
Great video Ruth! This is a useful technique. Do you have any tips on how to take this a step further and also consider the row and filter context and context transition to help understand how a measure is calculated so that you can verify the result. For complex data models with inactive relationships, ambiguous relationships between tables etc. I often find it hopeless to figure out how a measure is actually calculated. If you have a database as the source you can usually write some T-SQL statements to validate the result but sometimes the data source is not that readily available. Thanks for a great channel! /Fredrik
@josepromero1452
@josepromero1452 7 жыл бұрын
Nice Video as always!! Question Ruth: When should I use a calculeted column either in Query Editor or in the data panel? Many thanks in advance!!!
@CurbalEN
@CurbalEN 7 жыл бұрын
+Josep Mussol Hi Josep, That is a great question. Let me answer it in a video so others can also be a part of it :) /Ruth
@josepromero1452
@josepromero1452 7 жыл бұрын
Of course Ruth. Great idea!! Thanks a lot
@CurbalEN
@CurbalEN 7 жыл бұрын
+Josep Mussol :)
@barttitulaerexcelbart9400
@barttitulaerexcelbart9400 7 жыл бұрын
Hello Ruth, I agree with Brian, and of course I liked your answer that you will also do a video with a "real" measure :). In Excel the brackets are coloured, maybe in the future also for Power BI? One Question: DATEDIFF gave integers (whole numbers) as a result? In hours and Days? why was there no ROUND needed?
@drumcorpsconcepts
@drumcorpsconcepts 7 жыл бұрын
Thank you for posting these DAX videos, I find them very useful.
@CurbalEN
@CurbalEN 7 жыл бұрын
+Drum Corps Concepts Hi! Fantastic, then my goal has been fulfilled! And many thanks for taking the time to give me feedback :) Have a great weekend, /Ruth
@MrNillock
@MrNillock 7 жыл бұрын
all your videos are SPECIAL :)
@CurbalEN
@CurbalEN 7 жыл бұрын
+Collin Taylor Thanks Collin 😊, coming from you is a real compliment! Have a great weekend :) /Ruth
@jonmarquet
@jonmarquet 7 жыл бұрын
Muy bueno Ruth, me has dado un par de ideas para solucionar algún problemilla que tengo. ¿ y para cuándo una deconstrucción de un cachopo? 😋😋😋😋😋😋😋
@CurbalEN
@CurbalEN 7 жыл бұрын
+jon marquet Ahh genial!! Cachopo a la Asturiana con queso cabrales ? ( este video no está patrocinado por la comunidad de Asturias) 😂😂😂 /Ruth
@gagansingh3481
@gagansingh3481 2 жыл бұрын
Great explanation Mam 👌
@gagansingh3481
@gagansingh3481 2 жыл бұрын
Ruth Mam please made more videos on complex Dax queries generally used in industries as per your experience please ....
@mnowako
@mnowako 7 жыл бұрын
Bravo! It's a great skill to master! Thanks Ruth!
@CurbalEN
@CurbalEN 7 жыл бұрын
+Mariusz Nowakowski Thanks! Glad you liked it :) /Ruth
@SKRT_DATA_MUSIC
@SKRT_DATA_MUSIC 5 жыл бұрын
nice mam
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks :) /Ruth
DAX Fridays! #55: Table construct
9:52
Curbal
Рет қаралды 4 М.
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Tuna 🍣 ​⁠@patrickzeinali ​⁠@ChefRush
00:48
albert_cancook
Рет қаралды 148 МЛН
DAX Fridays! #30: SEARCH vs FIND
13:22
Curbal
Рет қаралды 26 М.
DAX Fridays! #40: DATESINPERIOD (Moving x Months average)
10:03
DAX Fridays! #130: BLANK, ISBLANK
13:41
Curbal
Рет қаралды 14 М.
DAX Fridays! #64: GENERATE, GENERATEALL
11:33
Curbal
Рет қаралды 15 М.
DAX Fridays! #65: EXCEPT
9:34
Curbal
Рет қаралды 9 М.
DAX Fridays! #35: VALUES
10:24
Curbal
Рет қаралды 22 М.
DAX Fridays! #60: DATATABLE
10:00
Curbal
Рет қаралды 7 М.