Forum Discussion
QQQ
Advocate II
9 years agoTOTALYTD does NOT take cumulative
TOTALYTD acts as sum for each time period rather than a cumulative. I have a separate Calendar table in Power Pivot and I created relationship with my main table. Here is the formula YTD_...
- 9 years ago
Hello nickchobotar TomMartens Interkoubess
Thank you all for the quick and helpful responses.
I just realized my Months in Pivot Table was from wrong table. Instead of getting it from Data table (which I named 'Calendar'), I got it from the Facts table.
Below is the updated table
Interkoubess
Solution Sage
9 years agoHi QQQ,
Please try YTD_Matches = CALCULATE(sum(Complete_Detailed_Incidents[Matches]),DATESYTD('Calendar'[date]))
And let us know.
Thx.
QQQ
Advocate II
9 years ago
Thanks for the quick response!
However I found the solution.
The Months should be from Date Table (which I named 'Calendar'). Instead, I originally got the dates from the Fact table.