Forum Discussion

bjones's avatar
bjones
New Member
10 years ago
Solved

TOTALMTD not returning a value

Hi All,   I am new to PowerBI and cannot seem to get the TotalMTD formula to work in a new Measure.  I read the other posts but no matter what I do the formula does do as intended.  I have used dat...
  • v-qiuyu-msft's avatar
    v-qiuyu-msft
    10 years ago

    Hi bjones,

     

    As you mentioned in original post, the date is 'yyyy/MM/dd' format. But from the screenshots, it seems that you display date hierarchy instead of date value so the TOTALMDT is not working. In your scenario, you need to display date value in the table, then change aggregate function for the [Matter no count] as SUM, then create the measure like below:

     

    MTD_Arrangements=TOTALMTD(SUM('Fixed arrangement'[Matter no count]),'Datekey'[Date])

     

     

     

     

     

    If you have any question, please feel free to ask.

     

    Best Regards,
    Qiuyun Yu