Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hello,
I have used the formula TOTALYTD to create a cumulative total that displays the stock data per month. So far everything is fine.
Bestand kum. (VK-Wert) =
TOTALYTD(sum(tblLieferantenKER[lkerBestand (VK-Wert)]),tblDateTable[Date], tblDateTable[Monthnumber] <= max(tblLieferantenKER[lkermm]))
But now I would like to aggregate the result values of "Bestand kum. (VK-Wert)" again. In other words: January = January or 872,073; February = January + February or 872,073 + 936,985 etc.
I'm kind of stumped and can't get any further
Thanks in advance for your help.
Best regards,
Max
Solved! Go to Solution.
After a short break I found the solution. For those beeing interessted in it:
CALCULATE(
SUMX(
VALUES(tblDateTable[Monthnumber]),
[Bestand kum. (VK-Wert)]
),
FILTER(
ALL(tblDateTable),
tblDateTable[Monthnumber] <= MAX(tblDateTable[Monthnumber])
)
)
After a short break I found the solution. For those beeing interessted in it:
CALCULATE(
SUMX(
VALUES(tblDateTable[Monthnumber]),
[Bestand kum. (VK-Wert)]
),
FILTER(
ALL(tblDateTable),
tblDateTable[Monthnumber] <= MAX(tblDateTable[Monthnumber])
)
)