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 )
ThxAlot
Super User
2 years ago
remainingNew =
VAR __idx = itemLedgerEntryPurchase[Index]
RETURN
CALCULATE(
SUM( itemLedgerEntryPurchase[amount] ),
ALLEXCEPT( itemLedgerEntryPurchase, itemLedgerEntryPurchase[item] ),
itemLedgerEntryPurchase[Index] <= __idx
)