No video

DAX Fridays

  Рет қаралды 28,325

Curbal

Curbal

Күн бұрын

Пікірлер: 67
@franciscoisaacs881
@franciscoisaacs881 3 жыл бұрын
Ruth, you are a star. Thank you, thank you, thank you.
@CurbalEN
@CurbalEN 3 жыл бұрын
😊😊😊
@csanton
@csanton 29 күн бұрын
Great video, it helped me out a ton. You are a good teacher, keep it up!
@Alan.DL7
@Alan.DL7 3 жыл бұрын
Great piece! Another example to solve the same situation. As of now, I have been using the following: VAR AllValues = CALCULATETABLE( ADDCOLUMNS ( SUMMARIZE ( 'Investments', 'Investments'[Date] ), "@Sales", [BTC TOTAL] ), ALLSELECTED () ) VAR MaxValue = MAXX ( AllValues, [@Sales] ) RETURN MaxValue I guess now it's a matter of testing which one is faster :P
@CurbalEN
@CurbalEN 3 жыл бұрын
If you connect with Google Big query public datasets you can test it 😁
@Alan.DL7
@Alan.DL7 3 жыл бұрын
@@CurbalEN I guess I will do because I tested just now with a sample of data I have and the difference was 0.5 ms 😁. The difference however was in the usage of the Formula Engine vs Storage Engine. According to DAX Studio, we should get measures that ideally spend the most time in the Storage Engine. Will update once I get some results :)
@CurbalEN
@CurbalEN 3 жыл бұрын
Looking forward the results!!
@anapimenta9643
@anapimenta9643 3 жыл бұрын
Hi Ruth! Thank you for your incredible videos, I really love them!!! Could you make a video teaching how to get for example the name of the best selling product per period? Like in the case of the bicycle, instead of bringing the maximum value, return the name of the station that had more trips. Kind regards, Ana.
@CurbalEN
@CurbalEN 3 жыл бұрын
Mmmm second person asking, I will add it to my list:)
@alpesh417rt
@alpesh417rt 3 жыл бұрын
Happy to learn from you ,your teaching style is easy and fun
@CurbalEN
@CurbalEN 3 жыл бұрын
Great to hear :)
@ericlandry3971
@ericlandry3971 3 жыл бұрын
Fantastic Video, Ruth!!!! Have been struggling with this very topic! Thanks
@cpassuel9857
@cpassuel9857 3 жыл бұрын
Thanks for the video, I was struggling with this problem
@dannyhometown
@dannyhometown 3 жыл бұрын
Happy Friday Ruth, MAXX, SUMXX, RANKX things always confused me at the beginning of learning DAX. I should watch this video earlier before I made tons of mistakes. Thanks again for your post.
@CurbalEN
@CurbalEN 3 жыл бұрын
I should have done that too!! Oh wait... that is not possible right? 😂😂😂 Happy Friday Danny!
@jimmyni1983
@jimmyni1983 3 жыл бұрын
Hi Ruth, how are you? Could you please refresh my mind and help us on how to return the NAME in a card once the MAX number was found? So, once 72799 is the max value, how can I put name "21st & Speedway @PCL" in a simple card that just allows measures. Thanks in advance!
@lape36
@lape36 3 жыл бұрын
Hey, Happy #200 anniversary. Thanks a lot and keep it up.
@akshayshinde3703
@akshayshinde3703 3 жыл бұрын
Hi Ruth, This is such an incredible video with all the details explained. I did use the exact same thing in my Organisation and was super happy to get the correct result. A quick question, instead of calculating MAX if we want to use SUM of the Total for a measure, is it doable? Thanks! Akshay
@brunomachado9879
@brunomachado9879 3 жыл бұрын
Thanks Ruth! But how can i calculate the max for each bike station and with the sum in the end off all the max by each bike station?
@Henrik.Vestergaard
@Henrik.Vestergaard 3 жыл бұрын
Superb video technic, easy to see what you are doing, even on my phone and without my reading glasses :) Its very cool, and informative as usual
@CurbalEN
@CurbalEN 3 жыл бұрын
I have been putting more effort into the editing, glad it shows! And happy friday :)
@pahan95
@pahan95 3 жыл бұрын
Thank you! I already have a very important use case for this
@CurbalEN
@CurbalEN 3 жыл бұрын
Perfect timing then!
@ericlandry3971
@ericlandry3971 3 жыл бұрын
Again, Great Video. Wondering how this can be modified to capture the max of a moving average. Might be an interesting video.
@CurbalEN
@CurbalEN 3 жыл бұрын
Noted :)
@althurrenoldmonang7897
@althurrenoldmonang7897 3 жыл бұрын
This video is helpful! By the way the pbi file for this session is not available, if you don't mind to upload it..
@ceomdistributionpesco7333
@ceomdistributionpesco7333 3 жыл бұрын
Hi Ruth,nice and soft way of explanation
@CurbalEN
@CurbalEN 3 жыл бұрын
Great :)
@tomjoad7074
@tomjoad7074 3 жыл бұрын
Hi Ruth! Any idea on how can we get the MAX of 2 different measures ? Something like having the max of multiple columns but with measures. Many thanks for your great videos !!!
@2404Pepe
@2404Pepe 3 жыл бұрын
Excellent!!
@CurbalEN
@CurbalEN 3 жыл бұрын
Ole!!
@shahpashupati
@shahpashupati Жыл бұрын
Great video, Will you please make a video to calculate a running total for #trips from least to greatest? Thanks
@abhijeetghosh27
@abhijeetghosh27 2 жыл бұрын
Superb @Ruth. Thanks a lot for creating and sharing this video.. It helped a lot.. 😀👍
@CurbalEN
@CurbalEN 2 жыл бұрын
Wonderful:)
@lucalenzi9922
@lucalenzi9922 2 жыл бұрын
Superb video! Is it possibile to create a column reporting the MAX value in correspondence to the relative row ("21st & Speedway @PCL" in this case) and assign 0 to the other rows?
@RubenCarlosCalderonValladares
@RubenCarlosCalderonValladares 3 жыл бұрын
Nice explanation to a fairly common mistake! Thanks!
@CurbalEN
@CurbalEN 3 жыл бұрын
You welcome!
@HachiAdachi
@HachiAdachi 3 жыл бұрын
Congrats on #200, Ruth! 🎊 How many more to go now?
@amilli1996azing
@amilli1996azing 2 жыл бұрын
So helpful, thank you so much. Can't wait to learn from more videos!
@veebee3969
@veebee3969 10 ай бұрын
Hi, I have a question or rather a suggestion. When you are trying to demonstrate a technique, do you always have to use a mega sized dataset? Why not use a simple dataset with just enough number of fields and rows, so the reader can visually observe how the technique is working. For your consideration please.
@CurbalEN
@CurbalEN 10 ай бұрын
I do sometimes, it depends on if I think it is needed or not. I dont always get it right though. Thanks for the feedback :)
@jzvcalubayan
@jzvcalubayan 3 жыл бұрын
Great video. Been learning a lot from you. Thanks. I was thinking of applying this to a matrix that have multiple levels. How can we get the max dynamically? example:Level 1= bike station, Level 2 = Lets say passenger gender. When the table is collapsed to Level 1, we get the max like you have but when we expand to level 2, we get the max of station by gender. I have a matrix with mutiple levels and I am struggling to find a solution.
@VVILLT
@VVILLT Жыл бұрын
really useful
@beibeiilovu
@beibeiilovu 2 жыл бұрын
Hello Ruth, I have a question. Can we select few station and re-calculate the max? Thank you. 😃
@wesfurlong4664
@wesfurlong4664 2 жыл бұрын
Very helpful, thank-you!
@nithiyanandank8590
@nithiyanandank8590 2 жыл бұрын
Hi Team, I tried this today but not working for me. Im getting default value as "1". DAX - NCD check = MAXX(Master,[NCD #])
@bcippitelli
@bcippitelli 3 жыл бұрын
Amazing! I think I will need to use it soon! Buen fin de semana campeona guru de BI
@CurbalEN
@CurbalEN 3 жыл бұрын
Igualmente Bruno! 😂
@bcippitelli
@bcippitelli 2 жыл бұрын
@@CurbalEN Now, I have just use it again! Thanks again! Graciaaaas
@CurbalEN
@CurbalEN 2 жыл бұрын
🎉🎉
@android01978
@android01978 2 жыл бұрын
This is great info! Any ideas how I can get this to work when the measure I'm trying to get the maxx of is conditionally calculated. Basically, I have a variance that is calculated based on the first and last categories selected. The graph then has multiple categories per week along the x axis and total value sold in the Y. The measure I'm trying to get the max of calculates the difference between the first and last selected category. Trying the following with or without the ALL just displays the total value for each week: maxx(ALL(Summary),[Variance Over Selection]) I'm using the following to get which categories to compare: Selection = VAR _Count = COUNTROWS(VALUES('S&OP Archive'[Archive Date])) VAR _Concat = CONCATENATEX(VALUES('S&OP Archive'[Archive Date]),Format([Archive Date],"yyyyMMdd"),"|") RETURN _Concat and the following to get the Start data: Comparison Revenue Start = VAR sel = PATHITEM( [Selection], 1 ) RETURN CALCULATE([Forecast Revenue],Format('S&OP Archive'[Archive Date],"yyyyMMdd") = sel) and the following to get end data: Comparison Revenue End = VAR sel = PATHITEM( [Selection], PATHLENGTH([Selection]) ) RETURN CALCULATE([Forecast Revenue],Format('S&OP Archive'[Archive Date],"yyyyMMdd") = sel) With the variance calculated as: Variance Over Selection = [Comparison Revenue End]-[Comparison Revenue Start]
@malkapauramnarendra8265
@malkapauramnarendra8265 2 жыл бұрын
I have a date column and each date also have sale data, so i have totally two columns, one is Date, 2nd is sale value. the requirement is pick the max date and min date show the total sale? how do i achieve this
@anthonyjones7467
@anthonyjones7467 3 жыл бұрын
Great video! Thanks!
@CurbalEN
@CurbalEN 3 жыл бұрын
🥳🥳
@Bydray007
@Bydray007 Жыл бұрын
Thanks a lot
@CurbalEN
@CurbalEN Жыл бұрын
My pleasure
@khurramsajjad2469
@khurramsajjad2469 3 жыл бұрын
Hello dear power bi files are not downloading.
@jiancarlochua5346
@jiancarlochua5346 3 жыл бұрын
My concern, how to get min and max of weekly values?
@Miki-rx2wj
@Miki-rx2wj 2 жыл бұрын
Hi, that's very helpful! I was also wondering if you can Calculate the MAX of a filtered measure via slicer. I looked for an answer how to do it, but I didn't find anything that I could understand and use
@erikbossow
@erikbossow Жыл бұрын
Hi, probably a little bit late lol, but i had the same question. I did MAXX(ALLSELECTED('Table'), [Measure]) and it worked - so i used ALLSELECTED() instead of ALL(). Hope i could help you :)
@Miki-rx2wj
@Miki-rx2wj Жыл бұрын
​@@erikbossow Hey, thanks! :) I can't remember now how I solved it, but I also found a solution.
@gayatrilshinde1560
@gayatrilshinde1560 3 жыл бұрын
Hi,I am facing same issue I have to calculate max of count order against month column ,but everytime it gives max at total but values got filter by month in table please help
@wmbp97
@wmbp97 Жыл бұрын
Did you ever find a solution? I have the same probelm I believe.
@wanjingtan3530
@wanjingtan3530 2 жыл бұрын
Life-saver
@CurbalEN
@CurbalEN 2 жыл бұрын
🎉
@ThisCatTom
@ThisCatTom 3 жыл бұрын
What if the measure uses data from two tables?
@idonjohnson6999
@idonjohnson6999 Жыл бұрын
It works, untill you put a slicer on the table. You then want the result based on the sliced dataset.
DAX Fridays #201: How to create virtual tables using DAX
7:02
DAX Fridays #204: Slice by the results of a measure
10:59
Curbal
Рет қаралды 26 М.
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН
娜美这是在浪费食物 #路飞#海贼王
00:20
路飞与唐舞桐
Рет қаралды 6 МЛН
Just Give me my Money!
00:18
GL Show Russian
Рет қаралды 585 М.
Don't make these CALCULATE Function Mistakes! ⚠️
10:09
DAX Fridays! #78: When should I use FILTER() with CALCULATE?
11:35
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 98 М.
MAX, MAXA, MAXX, MIN, MINA, MINX: DAX функции максимумов и минимумов в Power BI (Pivot)
18:58
Clean up your DAX measures with MEASURE TABLES and FOLDERS in Power BI
9:30
Meet the one boy from the Ronaldo edit in India
00:30
Younes Zarou
Рет қаралды 19 МЛН