Forum Discussion
Powerwoman
Helper II
2 years agoRunning Total not working in calculated column
Hi there, can anyone tell me, why this DAX isn't working but always showing the total instead of running total? Running totals should be calculated by item. remainingNew = CALCULATE( ...
- 2 years ago
remainingNew = VAR __idx = itemLedgerEntryPurchase[Index] RETURN CALCULATE( SUM( itemLedgerEntryPurchase[amount] ), ALLEXCEPT( itemLedgerEntryPurchase, itemLedgerEntryPurchase[item] ), itemLedgerEntryPurchase[Index] <= __idx )
nirali_arora
Resolver II
2 years agoYou can try the following dax measure
Running Total =
SUMX(
FILTER(
ALL(YourTable),
YourTable[Index] <= MAX(YourTable[Index]) ),
YourTable[ValueColumn]
)