Forum Discussion

thampton's avatar
thampton
Icon for Helper III rankHelper III
7 years ago
Solved

Help writing DAX measure

I have a table with the format below . I need to be able to create a measure that calculates the sum of the values based on the corresponding date (month to date ONLY). For instance, today's value wo...
  • v-yuta-msft's avatar
    7 years ago

    thampton,

     

    You may try DAX function TOTALMTD, create a measure and use DAX formula below:

    Result =
    TOTALMTD ( SUM ( Table[Value] ), Table[Date] )
    

    Community Support Team _ Jimmy Tao

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.