DAX Fridays

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 69

  • @franciscoisaacs881
    @franciscoisaacs881 3 ปีที่แล้ว +3

    Ruth, you are a star. Thank you, thank you, thank you.

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +1

      😊😊😊

  • @csanton
    @csanton 2 หลายเดือนก่อน

    Great video, it helped me out a ton. You are a good teacher, keep it up!

  • @sergegagne874
    @sergegagne874 11 วันที่ผ่านมา

    Where is your cape Curbal? My hero! :) Thank you so much!!!

  • @anapimenta9643
    @anapimenta9643 3 ปีที่แล้ว +4

    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 ปีที่แล้ว +2

      Mmmm second person asking, I will add it to my list:)

  • @ericlandry3971
    @ericlandry3971 3 ปีที่แล้ว +1

    Fantastic Video, Ruth!!!!
    Have been struggling with this very topic! Thanks

  • @alpesh417rt
    @alpesh417rt 3 ปีที่แล้ว +1

    Happy to learn from you ,your teaching style is easy and fun

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      Great to hear :)

  • @cpassuel9857
    @cpassuel9857 3 ปีที่แล้ว +1

    Thanks for the video, I was struggling with this problem

  • @brunomachado9879
    @brunomachado9879 3 ปีที่แล้ว +2

    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?

  • @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..

  • @lape36
    @lape36 3 ปีที่แล้ว

    Hey, Happy #200 anniversary. Thanks a lot and keep it up.

  • @shahpashupati
    @shahpashupati ปีที่แล้ว

    Great video,
    Will you please make a video to calculate a running total for #trips from least to greatest? Thanks

  • @pahan95
    @pahan95 3 ปีที่แล้ว +1

    Thank you! I already have a very important use case for this

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      Perfect timing then!

  • @akshayshinde3703
    @akshayshinde3703 3 ปีที่แล้ว +1

    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

  • @amilli1996azing
    @amilli1996azing 3 ปีที่แล้ว

    So helpful, thank you so much. Can't wait to learn from more videos!

  • @ceomdistributionpesco7333
    @ceomdistributionpesco7333 3 ปีที่แล้ว

    Hi Ruth,nice and soft way of explanation

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      Great :)

  • @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 :)

  • @Alan.DL7
    @Alan.DL7 3 ปีที่แล้ว +1

    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!!

  • @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?

  • @jimmyni1983
    @jimmyni1983 3 ปีที่แล้ว +1

    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!

  • @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!

  • @wesfurlong4664
    @wesfurlong4664 2 ปีที่แล้ว

    Very helpful, thank-you!

  • @RubenCarlosCalderonValladares
    @RubenCarlosCalderonValladares 3 ปีที่แล้ว

    Nice explanation to a fairly common mistake! Thanks!

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      You welcome!

  • @ericlandry3971
    @ericlandry3971 3 ปีที่แล้ว +2

    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 ปีที่แล้ว +1

      Noted :)

  • @abhijeetghosh27
    @abhijeetghosh27 2 ปีที่แล้ว

    Superb @Ruth. Thanks a lot for creating and sharing this video.. It helped a lot.. 😀👍

    • @CurbalEN
      @CurbalEN  2 ปีที่แล้ว

      Wonderful:)

  • @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 !!!

  • @anthonyjones7467
    @anthonyjones7467 3 ปีที่แล้ว

    Great video! Thanks!

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว

      🥳🥳

  • @2404Pepe
    @2404Pepe 3 ปีที่แล้ว +1

    Excellent!!

  • @HachiAdachi
    @HachiAdachi 3 ปีที่แล้ว

    Congrats on #200, Ruth! 🎊 How many more to go now?

  • @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. 😃

  • @arp1991
    @arp1991 หลายเดือนก่อน

    Hi Ruth, I am trying to calculate min of a measure for a group. So, I have a measure to calculate average price and I want to find the lowest avg. price in a month for an item using this measure. How do I do this?

  • @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.

  • @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]

  • @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.

  • @bcippitelli
    @bcippitelli 3 ปีที่แล้ว

    Amazing! I think I will need to use it soon! Buen fin de semana campeona guru de BI

    • @CurbalEN
      @CurbalEN  3 ปีที่แล้ว +2

      Igualmente Bruno! 😂

    • @bcippitelli
      @bcippitelli 2 ปีที่แล้ว

      @@CurbalEN Now, I have just use it again! Thanks again! Graciaaaas

    • @CurbalEN
      @CurbalEN  2 ปีที่แล้ว

      🎉🎉

  • @Bydray007
    @Bydray007 2 ปีที่แล้ว

    Thanks a lot

    • @CurbalEN
      @CurbalEN  2 ปีที่แล้ว +1

      My pleasure

  • @wanjingtan3530
    @wanjingtan3530 2 ปีที่แล้ว

    Life-saver

  • @veebee3969
    @veebee3969 ปีที่แล้ว

    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  ปีที่แล้ว

      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 :)

  • @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 #])

  • @khurramsajjad2469
    @khurramsajjad2469 3 ปีที่แล้ว

    Hello dear power bi files are not downloading.

  • @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

  • @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.

  • @jiancarlochua5346
    @jiancarlochua5346 3 ปีที่แล้ว

    My concern, how to get min and max of weekly values?

  • @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.