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.
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) ) |