Forum Discussion
CarlsBerg999
4 years agoHelper V
Cumulative balance
Hi, I have a very simple Model: What i want to do, is have 2 visuals: 1. Date Filter: The user will select a date 2. Table: The table will show the cumulative balance for each ma...
- 4 years ago
CarlsBerg999 , I think here you need all
Cumulative Inventory Balance = CALCULATE(SUM('Inventory Balance'[Quantity]),
FILTER(all(DateTable),
DateTable[Date]<=SELECTEDVALUE(DateTable[Date])))or
Cumulative Inventory Balance = CALCULATE(SUM('Inventory Balance'[Quantity]),
FILTER(all(DateTable),
DateTable[Date]<=max(DateTable[Date])))
amitchandak
4 years agoSuper User
CarlsBerg999 , I think here you need all
Cumulative Inventory Balance = CALCULATE(SUM('Inventory Balance'[Quantity]),
FILTER(all(DateTable),
DateTable[Date]<=SELECTEDVALUE(DateTable[Date])))
or
Cumulative Inventory Balance = CALCULATE(SUM('Inventory Balance'[Quantity]),
FILTER(all(DateTable),
DateTable[Date]<=max(DateTable[Date])))