Forum Discussion
akkitek
Helper III
5 years agoTotalYTD function returning error
Hey All, I have a column with values and a column with dates (image below). I'm trying to create a simple measure calculating the YTD sum of the values. I tried the following measure: ODC Expense...
- Anonymous4 years ago
Hi akkitek ,
You can try to change the formula to the following form:
ODC Expense YTD = CALCULATE(SUM('FACT_Fin_Data_by_Mo'[ODC Expense]), FILTER(ALL('Calendar'),'Calendar'[Date]<=TODAY()&&'Calendar'[Date]>=DATE(YEAR(TODAY()),1,1)))Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
parry2k
Super User
5 years agoAshish_Mathur I didn't ask about my post, I asked about how your reply is different than mine?
Ashish_Mathur
Super User
5 years agoHow would i know that unless i read the contents in the link of your post?