Forum Discussion
Asmaa-elsheikh
Helper I
2 years agoMTD Calculation
Hi All, I need your support; I am trying to calculate MTD,but it gives me inacurrate numbers, here the method I used: =Calculate(SUM(COUNT),MONTH(Updated_Date)=MONTH(TODAY()) I have used th...
- Anonymous2 years ago
Hi Asmaa-elsheikh ,
I create a table as you mentioned.
When I write your DAX code, it gives me an error. I think you can change COUNT.
Then I change the DAX code, it gives me the result you want.
Measure = CALCULATE ( SUM ( 'Table'[Count] ), MONTH ( 'Table'[Updated_Date] ) = MONTH ( TODAY () ) )Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MNedix
Solution Sage
2 years agoHi,
Why not using the built-in functions?
=CALCULATE(SUM(COUNT),DATESMTD(Updated_Date))Asmaa-elsheikh
Helper I
2 years agoI have used it, but gives me blank values