Forum Discussion
BLM
Helper I
8 years agoCumulative Totals
hello guys!! I need an aummulative summ by date (only selected in slicer) and by another field (stock OPs). I attached a image for show that I need. Thank you (sorry for my english)
- 8 years ago
Hi BLM,
You need a measure like this:
Measure = CALCULATE ( SUM ( movimientos[Cantidad] ), FILTER ( ALLSELECTED ( 'calendar' ), 'calendar'[fecha] <= MAX ( 'calendar'[fecha] ) ) )Best Regards,
Dale
BLM
Helper I
8 years agohelp me please...:smileyfrustrated:
v-jiascu-msft
Microsoft Employee
8 years agoHi BLM,
Can you share a dummy sample? It's hard to write a DAX formula without the data model.
Best Regards,
Dale
- BLM8 years ago
Helper I
- v-jiascu-msft8 years ago
Microsoft Employee
Hi BLM,
You need a measure like this:
Measure = CALCULATE ( SUM ( movimientos[Cantidad] ), FILTER ( ALLSELECTED ( 'calendar' ), 'calendar'[fecha] <= MAX ( 'calendar'[fecha] ) ) )Best Regards,
Dale