Craigc3814
Board Regular
- Joined
- Mar 7, 2016
- Messages
- 217
I am trying to create a measure that calculates running total by year. I have the below measure but it is calculating since the beginning of time. I know its a simple fix but I cannot get it
Running Total MEASURE =
CALCULATE (
SUM ( 'MSD_ALLOC_RECON_ACT (2)'[Spent] ),
FILTER (
ALL ( 'MSD_ALLOC_RECON_ACT (2)' ),
'MSD_ALLOC_RECON_ACT (2)'[ACCOUNTING_Month]<= MAX ( 'MSD_ALLOC_RECON_ACT (2)'[ACCOUNTING_Month] )
)
)
Running Total MEASURE =
CALCULATE (
SUM ( 'MSD_ALLOC_RECON_ACT (2)'[Spent] ),
FILTER (
ALL ( 'MSD_ALLOC_RECON_ACT (2)' ),
'MSD_ALLOC_RECON_ACT (2)'[ACCOUNTING_Month]<= MAX ( 'MSD_ALLOC_RECON_ACT (2)'[ACCOUNTING_Month] )
)
)