Forum Discussion

cpmb's avatar
cpmb
Frequent Visitor
6 years ago

Apply difference to multiple IDs within a group in DAX

I have a table with daily Consumption totals and a fixed Capacity amount per ID. I want the Consumption value to be subtracted from the "first" ID's Capacity until it is 0, and then subtract the rema...