The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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])
)
)
User | Count |
---|---|
16 | |
8 | |
7 | |
6 | |
6 |
User | Count |
---|---|
26 | |
13 | |
12 | |
8 | |
8 |