Forum Discussion
hackfifi
6 years agoHelper V
Cumulative NULL issue
Hi All - Having this issue with Cumulative Formula. As you can see where there is NO Data for 'A' (Line 18-Oct-19), and hence i made the value =0. But the cumulative calculation is still coming up as...
- 6 years ago
Hi hackfifi
I make a test as below, please try my method on your side to see if it works.
Create a measure
clc2 = IF(ISBLANK([A]),BLANK(),CALCULATE([A],FILTER(ALLSELECTED('date'),'date'[Date]<=MAX('date'[Date]))))My other measures
A = SUMX('Table','Table'[Act Qty]*'Table'[UR - Base Budget]) clc = IF([A]<>BLANK(),CALCULATE([A],FILTER(ALLSELECTED('date'),'date'[Date]<=MAX('date'[Date]))))Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-juanli-msft
6 years agoCommunity Support
Hi hackfifi
I make a test as below, please try my method on your side to see if it works.
Create a measure
clc2 = IF(ISBLANK([A]),BLANK(),CALCULATE([A],FILTER(ALLSELECTED('date'),'date'[Date]<=MAX('date'[Date]))))
My other measures
A = SUMX('Table','Table'[Act Qty]*'Table'[UR - Base Budget])
clc = IF([A]<>BLANK(),CALCULATE([A],FILTER(ALLSELECTED('date'),'date'[Date]<=MAX('date'[Date]))))
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
hackfifi
6 years agoHelper V
Thanks Everyone!! Solution has worked 🙂