Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
In 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).
It will be possible but you will need to add a calculated measure to your cube. Are you using Tabular or Multidimensional? Both will work but one will use DAX while the other will need an MDX formula.
| User | Count |
|---|---|
| 59 | |
| 46 | |
| 31 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 79 | |
| 68 | |
| 43 | |
| 26 | |
| 23 |