Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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.
Thanx!
Solved! Go to Solution.
remainingNew =
VAR __idx = itemLedgerEntryPurchase[Index]
RETURN
CALCULATE(
SUM( itemLedgerEntryPurchase[amount] ),
ALLEXCEPT( itemLedgerEntryPurchase, itemLedgerEntryPurchase[item] ),
itemLedgerEntryPurchase[Index] <= __idx
)
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |
You can try the following dax measure
Running Total =
SUMX(
FILTER(
ALL(YourTable),
YourTable[Index] <= MAX(YourTable[Index]) ),
YourTable[ValueColumn]
)
remainingNew =
VAR __idx = itemLedgerEntryPurchase[Index]
RETURN
CALCULATE(
SUM( itemLedgerEntryPurchase[amount] ),
ALLEXCEPT( itemLedgerEntryPurchase, itemLedgerEntryPurchase[item] ),
itemLedgerEntryPurchase[Index] <= __idx
)
Expertise = List.Accumulate( {Days as from Today}, {Skills and Knowledge}, (Current, Everyday) => Current & Day.LearnAndPractise(Everyday) ) |