Forum Discussion
Running total for month
- 4 years ago
Hi, refint_650
I think I can understand what you mean. Order Count is the Measure to calculate Order ID. How to calculate the cumulative summation of Order Count when Order Count is Measure.
You can try the following methods.
Maesure:
Cumulative = CALCULATE ( SUMX ( VALUES ( 'Table'[Month No] ), [Order Cou] ), FILTER ( ALLSELECTED ( 'Table' ), [Month No] <= MAX ( 'Table'[Month No] ) ) )Order Cou in my table is Measure.
Best Regards,
Charlotte Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
attaching sample dataset. i couldnt attach excel file.
Hi, refint_650
I think I can understand what you mean. Order Count is the Measure to calculate Order ID. How to calculate the cumulative summation of Order Count when Order Count is Measure.
You can try the following methods.
Maesure:
Cumulative =
CALCULATE (
SUMX ( VALUES ( 'Table'[Month No] ), [Order Cou] ),
FILTER ( ALLSELECTED ( 'Table' ), [Month No] <= MAX ( 'Table'[Month No] ) )
)
Order Cou in my table is Measure.
Best Regards,
Charlotte Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.