DAX Fridays!

  Рет қаралды 42,135

Curbal

Curbal

Күн бұрын

Пікірлер: 97
@workstuff5253
@workstuff5253 7 ай бұрын
I love your excitement and energy in your videos 👍
@Henrik.Vestergaard
@Henrik.Vestergaard 3 жыл бұрын
Hi Ruth. At 8:00 you show the use of SUMMARIZECOLUMNS in measures. I can make it work in a simple measure, but what do you make of this from sqlbi: "SUMMARIZECOLUMNS cannot be used if the filter context contains a row context or a filter context generated by context transition or an arbitrarily shaped set. This limitation makes it unusable in any measure. It is a function intended solely for queries and calculated tables." Regards, Henrik
@danielsiffredi8403
@danielsiffredi8403 4 жыл бұрын
Ruth, you are an angel! you just taught me how to get done something that I was munching for DAYS... thank you SO MUCH!
@CurbalEN
@CurbalEN 4 жыл бұрын
Music to my ears! :) /Ruth
@graemegourlay2850
@graemegourlay2850 3 жыл бұрын
Excellent content. Just used it for a Microsoft Customer Voice report to be able to filter responses when the filter content is one of the questions in a survey: Created a table from the DAX and added it into the data model. Took a bit of thinking to figure it out and test. Code below shows how to use the FILTER and RELATED functions. Activities = SUMMARIZECOLUMNS( msfp_questionresponse[msfp_surveyresponseid], msfp_questionresponse[Response], FILTER(msfp_questionresponse,RELATED(msfp_questions[Question]) = "Client") )
@benhalicki9749
@benhalicki9749 3 жыл бұрын
I love your comment about Microsoft documentation and 'words i cannot understand'. I thought it was just me! Great videos, keep them coming :)
@CurbalEN
@CurbalEN 3 жыл бұрын
You are not alone, trust me!
@dex461
@dex461 Жыл бұрын
Great video! Well explained. I have question though, and I'm not sure the best way to accomplish this, but I have data set that contains a series of categorical information in a in a column (vertically), and the associated date with those categories displayed within a row (horizontally). Is there a way to pull the associated values in both those arrays and perform calculations, without having them vertically aligned? Let me know if this makes sense. Thank you!
@AArora81
@AArora81 3 жыл бұрын
That little dance from 3:33 to 3:38 was cute :-). Always great to have an opportunity to enjoy what one does as work. That said, thanks for all your useful videos all these years!
@2404Pepe
@2404Pepe 4 жыл бұрын
I don't know why I don't use this measure more often!!! you're the gratest!!!
@CurbalEN
@CurbalEN 4 жыл бұрын
Thanks!
@joseagundis1
@joseagundis1 5 жыл бұрын
Gracias Ruth, como siempre EXCELENTES tus videos, además eres de los pocos MVP que leen y responden los comentarios, un plus más. Saludos
@CurbalEN
@CurbalEN 5 жыл бұрын
Todo un placer! Y charlar con vosotros es lo mejor de todo esto :) /Ruth
@joelngige5776
@joelngige5776 2 жыл бұрын
Thanks for the wonderful explanation on summurazecolumns using several examples. Really appreciate.
@vasistakumar5874
@vasistakumar5874 3 жыл бұрын
Ruth, fantastic work...thank a lot for your explanation...master of the DAX..
@CurbalEN
@CurbalEN 3 жыл бұрын
Surviving DAX is more appropriate 😂
@marcuscrutchfield3992
@marcuscrutchfield3992 3 жыл бұрын
Is it possible to pivot the columns in a summarize table? For example, you want to show Category Names as Columns and sumofsales as the value on each row under the columns?
@jmo20081
@jmo20081 2 жыл бұрын
Hello Ruth, Thank you for your presentation. I have used it and found working very well. Just one element, I placed it in card it is working. But, when I put it in matrix with Year and month parameters, it is showing error. I wonder what additional steps I need to take in order to show it in matrix. Please find my dax as follows. Summarize Invoice Total by Suborder ID and Invoice Date = COUNTROWS( FILTER( SUMMARIZECOLUMNS( 'DBiCareBillingOrderLevel'[Suborder ID], 'DBiCareBillingOrderLevel'[Invoice Date], "SumOfRevenue",[Total_Invoice $] ), [SumOfRevenue] > 0 ) ) Appreciate if you could provide some insight or refer to any of your other video. Regards Joy
@AkshayKumar-vd5wn
@AkshayKumar-vd5wn 2 жыл бұрын
What of you have 2 fact tables does SSUMMARISECOLUMNS know which one to pick? Can we specify which fact table bto summarize for SYMMARIZECOLUMNS.
@naveen200848
@naveen200848 3 жыл бұрын
Hi curbal, how can i get a pivot or matrix like view in this dax output. Where i can see category revenue for each year in a seperate column. Instead all years in one column.
@juanignacioXI
@juanignacioXI 4 жыл бұрын
You are Awesome RUTH!!!!!
@CurbalEN
@CurbalEN 4 жыл бұрын
😊😊😊 /Ruth
@jacquelinelacan
@jacquelinelacan 4 жыл бұрын
Ruth! First of all, thank you for these top quality videos! But, I insist on saying that you're lovely! Tack så mycket!
@davidcadman3562
@davidcadman3562 5 жыл бұрын
Great stuff. I use it all the time to query our Analysis Services model. It's much easier because we have multiple fact tables and often need to include measures aggregated from more than one of them. Summarize (and with Addcolumns) does include rows where the measure / all measures are blank.
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks for sharing and happy Fridays! /Ruth
@davidcadman3562
@davidcadman3562 5 жыл бұрын
@@CurbalEN You too! QQ - I usually do it as 1. columns to group by, 2. one or more CALCULATETABLE and 3. the measures. Is there any real difference in using FILTER as part 2 as you did? More flexibility I guess in that criteria can be other than a True/False result. Do you know if there is any performance benefit with Filter over CalculateTable?
@jevgenijskaktins1066
@jevgenijskaktins1066 5 жыл бұрын
No construction works but very nice Swedish melody appears in your English ;)
@dasrotrad
@dasrotrad 5 жыл бұрын
I have seen the magic! Summarize and Summarizecolumns .. totally kill it! I'm putting this to use today. You rock Ruth. Thank you!!
@CurbalEN
@CurbalEN 5 жыл бұрын
Yey!! Music to my ears and Happy Friday! /Ruth
@bram5782
@bram5782 4 жыл бұрын
Thanks for bring this topic Ruth. Excellent! I wonder, by using FILTER and SUMMARIZECOLUMNS, does it will reflect to expanded table or not (during calculation inside PBI)? We know that SUMMARIZECOLUMNS would fetch column(s) from particular table columns which those original table(s) have relationship between one another. I am glad if it's not.
@hi_vishy
@hi_vishy 2 жыл бұрын
How to refer to a column like Product or Country from summarizecolumn in Values() or such similar function? I want to use these values as filter in another DAX
@NaraMeerammaTrust
@NaraMeerammaTrust 5 жыл бұрын
Ruth, Great video and very useful topic. I would like to know are the relationships required among tables on the modelling in order to create SUMMARIZECOLUMNS Table. I guess it is not required to maintain a physical relationship explicitly on modelling tab for SUMMARIZECOLUMNS . Can you please clarify on this point too?
@CurbalEN
@CurbalEN 5 жыл бұрын
Try removing the relationships from my demo file to see what happens! ;) Happy Friday! /Ruth
@NaraMeerammaTrust
@NaraMeerammaTrust 5 жыл бұрын
@@CurbalEN The file is not available yet at download Center. Once it is loaded i will try this example without having relationships. I have implemented this already in my current project. I wanted to double check and make sure if it works in all situations. Thank you Ruth. Please let me know if the file is uploaded to download center.
@JohnnyTwoFingers
@JohnnyTwoFingers 5 жыл бұрын
I think you can instead just use a filter expression to simulate a relationship, and you can do multiple columns then also....right???
@CurbalEN
@CurbalEN 5 жыл бұрын
It is on now , sorry about that :)
@JohnnyTwoFingers
@JohnnyTwoFingers 5 жыл бұрын
Ruth, some day can you do a video that does a higher level comparison of ALL the table functions, compare and contrast, and talk about what you might use each one for? This area is the most confusing part of DAX to me!!
@CurbalEN
@CurbalEN 5 жыл бұрын
Great idea! It will take me time to put it together though, but it is on my list now ! /Ruth
@MrAszpic
@MrAszpic 5 жыл бұрын
Best practices videos are always welcome, thanks and I'll be waiting for the next Friday vid!
@CurbalEN
@CurbalEN 5 жыл бұрын
Happy Friday! :) /Ruth
@ayobamiologun9184
@ayobamiologun9184 5 жыл бұрын
Another interesting exposition from you... Thank you Ruth.
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks Ayobami and have a great weekend! /Ruth
@EricaDyson
@EricaDyson 5 жыл бұрын
Ditto Ruth. Have logged these in my " Must Use" list! Thanks a lot. Have a great weekend yourself.
@CurbalEN
@CurbalEN 5 жыл бұрын
They are very useful :) /Ruth
@b123kotey
@b123kotey 3 күн бұрын
This was great! Thank you
@sravankumar1767
@sravankumar1767 3 жыл бұрын
Very nice explanation 👌
@CurbalEN
@CurbalEN 3 жыл бұрын
Thanks!
@mictow
@mictow 3 жыл бұрын
Hi Ruth! I ended here looking to make virtual tables (that I believe are made by storage engine, right? ) so my visuals Load faster when making rolling avarage on line visuals, and cumulative totals on table visuals. Do yo have a video por that?
@samuelmanseau6905
@samuelmanseau6905 5 жыл бұрын
It's always a chance to find a way to improve! Thanks & thanks for your enthousiasme !
@CurbalEN
@CurbalEN 5 жыл бұрын
:) /Ruth
@marcobaquero6867
@marcobaquero6867 5 жыл бұрын
Hi Ruth so clear, as always...!!! Tks!!
@CurbalEN
@CurbalEN 5 жыл бұрын
My pleasure Marco :) /Ruth
@matsrosenqvist
@matsrosenqvist 3 жыл бұрын
You helped me a lot with this video. 🙏
@CurbalEN
@CurbalEN 3 жыл бұрын
Music to my ears 😊
@RajdeepNairHawk
@RajdeepNairHawk 3 жыл бұрын
So say I am creating a control chart. I have the UCL and the LCL that are derived using the standard deviatio.ln. I have a slicer that inputs the multiplier to the standard deviation so from 1 to 3 and with it I control the UCL and LCL. I want to create card with a count of number of data points that are outside the control limits when I change the slicer inputs. I think the way you can do it using virtual tables and countrows ... However I am failing to do so ... If you can please help
@venkatareddykummitha5863
@venkatareddykummitha5863 2 жыл бұрын
What is data lineage in power bi?
@davidgitau8825
@davidgitau8825 2 жыл бұрын
On summarizeColums, Why didn't you use an aggregate function to sum sales by year and Category?
@brunof.s.8186
@brunof.s.8186 5 жыл бұрын
last week was ADDCOLUMNS , today is SUMMARIZECOLUMNS...the revenge of the forgotten dax measures on dax fridays! love them both, so useful! it opens so many possibilities. thank you! unrelated PS : tomorrow is the day that the legend ELIUD KIPCHOGE will attempt the sub 2h marathon in Vienna. stay tune!! happy friday ruth!
@CurbalEN
@CurbalEN 5 жыл бұрын
I Will check on the internet! How is your training going? I have yet to decide if I will go for it next year, but training anyways :) Happy Friday!! /Ruth
@brunof.s.8186
@brunof.s.8186 5 жыл бұрын
@@CurbalEN i've just completed a HM two weeks ago, so right now i'm in a "off season", doing more cross-training than actually running, but i will resume next month in order to prepare for sao paulo marathon. (april-2020) what's keeping you ?
@CurbalEN
@CurbalEN 5 жыл бұрын
That is a great question... afraid to commit to one more thing. It takes dedication to make it and time that I would need to take from other things... Though call :( How do you make it a priority? What is your secret?
@brunof.s.8186
@brunof.s.8186 5 жыл бұрын
@@CurbalEN i guess i just have created the routine. exercising is as important as work, sleep well, proper eating, etc. we just have to do it. so, squeezing this into a marathon program is not that far-fetched. and i really enjoy the sunday's long runs. but of course, one's agenda it's totally different from other. mostly of the time mine is manageable and predictable , so i guess is "easier" for me. i've read numerous race reports on reddit from people who trains at 4:00 AM everyday, having two or three kids to taking care of so... i guess there is always a way. but as they say, there are marathons every year. maybe you'll find a better time to that commitment. but by then, you'll have > 100k subscribers in your channel, so will never be easy ! =P
@CurbalEN
@CurbalEN 5 жыл бұрын
You are so right! I do exercise often but short time to manage everything else and in the summer is golf in the weekends. Now that the cold weather is here is when I really start thinking about longer runs in the weekend. It’s not decided yet, and not too late. Let’s see. Thanks for your thoughts though!
@AbhishekAbhi-mc1dv
@AbhishekAbhi-mc1dv 3 жыл бұрын
Wow thanks a lot for the explanations
@fadilyassin4597
@fadilyassin4597 2 жыл бұрын
hi your help center includes only up to number 97 pbix files rest is missing can you help thanks
@CurbalEN
@CurbalEN 2 жыл бұрын
Just click to see all pages at the bottom on the page
@juansepowerplatform
@juansepowerplatform 5 жыл бұрын
Excellent explanation, thank you.
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks Juan! /Ruth
@zaravind4293
@zaravind4293 3 жыл бұрын
Hi mam When I try to save the report in PowerBI desktop it is showing unable to save document cannot open the package because file mode is not valid for the stream Can you please help me in this mam
@1yyymmmddd
@1yyymmmddd 5 жыл бұрын
Simple and easy explanation. Good job ! However beware that ADDCOLUMNS(SUMMARIZE ...) scenario works much much faster.
@CurbalEN
@CurbalEN 5 жыл бұрын
Yey!! Happy Friday! :) /Ruth
@vida1719
@vida1719 5 жыл бұрын
What a great explanation!
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks Vida! /Ruth
@NaraMeerammaTrust
@NaraMeerammaTrust 5 жыл бұрын
Trevor, can you please make it bit clear? If possible can you please give some example for your view.
@tucabelotti
@tucabelotti 5 жыл бұрын
Fantastic job, as always. Just one observation: when you used SUMMARIZECOLUMNS you said that the result was exactly the same but this is because you didn't have any blank row in your table, right? At least this is what I understood. I know you posted last week the way to deal with it using IGNORE. I wonder which is the best practice. Use the SUMMARIZECOLUMNS + IGNORE or ADDCOLUMN + SUMMARIZE? By the way, I am a huge fan!!!!!!!
@CurbalEN
@CurbalEN 5 жыл бұрын
Hi Tuca! You are 100% right :) According to sqlbi it is better to use summarizecolumns but I would always test in your model and compare actual performance. There are so many factors that can affect performance... Have a great Sunday! /Ruth
@alfredsfutterkiste7534
@alfredsfutterkiste7534 4 жыл бұрын
I did hear the wind or whatever it was but the video is still great!
@alfredsfutterkiste7534
@alfredsfutterkiste7534 4 жыл бұрын
I struggle to see where all the table/querying functions might be useful in DAX in a real business context?
@CurbalEN
@CurbalEN 4 жыл бұрын
Great question, it is great for creating virtual tables on the fly and do calculations on them. Deservs a video!
@marcosjosetiburciorodrigue3369
@marcosjosetiburciorodrigue3369 4 жыл бұрын
Ruth you rock!
@CurbalEN
@CurbalEN 4 жыл бұрын
🥳🥳 /Ruth
@jayantmishra4270
@jayantmishra4270 Жыл бұрын
Hi... Can you help me to solve this question ?? Which of the following DAX function will return a table :- 1 SUMMARIZECOLUMNS 2 CALCULATETABL 3 RELATEDTABLE 4 All of the above 5 None of the above Please answer the question??
@jonatanasencio4750
@jonatanasencio4750 4 жыл бұрын
Amazing..That´s what I needed!!..Genius!!
@gyorgybalogh3194
@gyorgybalogh3194 5 жыл бұрын
Excellent! Thank you!
@CurbalEN
@CurbalEN 5 жыл бұрын
Enjoy your weekend:) /Ruth
@emanmohamed387
@emanmohamed387 2 жыл бұрын
you are amazing
@CurbalEN
@CurbalEN 2 жыл бұрын
You too!!
@jasonwoodward5501
@jasonwoodward5501 5 жыл бұрын
Thanks again
@CurbalEN
@CurbalEN 5 жыл бұрын
🎉🎉 /Ruth
@suzannegriswold7555
@suzannegriswold7555 5 жыл бұрын
You are such a good teacher. Just watched another one by another teacher and he just talked too much...tried to put too much in single video. Completely lost me
@CurbalEN
@CurbalEN 5 жыл бұрын
Thanks for the feedback :) /Ruth
@lgnh6430
@lgnh6430 Жыл бұрын
Absoluut so misleading
@chengwang411
@chengwang411 2 жыл бұрын
Hey, I remember you once did a video about a trick that you can somehow select multiple field names in Dax together for an easy mass update. Can you gimme a link ? I can’t find it 🥲 tq
@pupycron4302
@pupycron4302 3 жыл бұрын
Excellent explanation! Thank you.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
DAX Fridays! #78: When should I use FILTER() with CALCULATE?
11:35
Create insightful calculations using CONCATENATEX.
12:27
Goodly
Рет қаралды 26 М.
DAX Fridays! #77: GROUPBY, CURRENTGROUP
12:27
Curbal
Рет қаралды 52 М.
Row Context in DAX
20:42
SQLBI
Рет қаралды 104 М.
Differences between GROUPBY and SUMMARIZE
28:30
SQLBI
Рет қаралды 42 М.
DAX ALLSELECTED Function
17:35
Goodly
Рет қаралды 14 М.
DAX Summarization Tricks in Power BI
12:51
Goodly
Рет қаралды 27 М.
When to use SUM and SUMX in DAX
15:48
BI Gorilla
Рет қаралды 27 М.