Forum Discussion
Anonymous
8 years agoNot applicable
YTD Calculation is not working properly
Hi, I have created a YTD measure using the below formula. But when I put them in the grid. Its showing the same result for Splitter Amount as well as for the Amount YTD. Could you please help me her...
Sean
Community Champion
8 years agoThis is what your basic YTD Measure should look like.
YTD Measure =
CALCULATE (
[measure],
DATESYTD ( 'Date'[Date] )
)It seems you are referencing a naked column. So just add the appropriate aggregation function.
Amount YTD = CALCULATE (
SUM ( 'Sales'[Splitter Amount] ),
DATESYTD ( 'Calendar'[CLDR_DT] )
)
Hope this helps! :smileyhappy: