Forum Discussion
Acumulated value using measures for YTD
- 4 years ago
Anonymous , Try like
YTD Sales = CALCULATE(SUMX(values('Date'[Month Year]),[Avg Net Price]),DATESYTD('Date'[Date],"12/31"))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Anonymous , Try like
YTD Sales = CALCULATE(SUMX(values('Date'[Month Year]),[Avg Net Price]),DATESYTD('Date'[Date],"12/31"))
To get the best of the time intelligence function. Make sure you have a date calendar and it has been marked as the date in model view. Also, join it with the date column of your fact/s. Refer :radacad sqlbi My Video Series Appreciate your Kudos.
Hiiii many thanks for your help, I cant believe it worked omg.
Could you explain that measure? why it works? why mine didnt.
Anyways thank you a lot 🙂