Forum Discussion
IS
10 years agoNew Member
Inventory cube
Hello, I would like to use in the standard inventory cube the ending amount measure in order to follow in a graph total stock value date per date. It seems that is not possible to use this measure? Do...
MattAllington
Community Champion
10 years agoIn DAX, the general measure pattern is as follows
Inventory :=
CALCULATE (SUM ( Inventory[StockCount] ),
LASTNONBLANK (Calendar[Date],CALCULATE ( SUM ( Inventory[StockCount] ) )))
this is pattern will work regardless of there being a count for every date (it will find the last count).