Forum Discussion

Namoh's avatar
Namoh
Icon for Post Partisan rankPost Partisan
6 years ago
Solved

Adding WHERE MAX statement into DAX measure TOTALYTD

Hi.   I’ve got a DAX measure which calculates the TOTALYTD: YTD_Unplanned_Downtine_Target = IF( SUM(Targets[Target Unplanned downtime (hrs)]) = BLANK(); BLANK ();TOTALYTD(SUM(Targets[Target Unplann...
  • Namoh's avatar
    Namoh
    6 years ago

    Ok, so to be honest, I don't know what I did to make it work, but it works!

     

    I was fooling around with some fields (Calendar-Date vs Targets-Begin van de maand), I was adding a Filter onto measure _5_ stating show all that's Not Empty, I clicked in the table in the right top corner on Zoom Out and Expand 1 level in Hierarchie, etc and now it shows:

    1. just the values of the beginning of the months

    2. it summarizes after each month

    3. it stops after the current month

     

    Thanks for your help.