Forum Discussion
Cumulative difference
- 4 years ago
So, you need to just reverse the order Cumulative Difference =([Prev])-CALCULATE(sum('Cumulative Diff'[Qty])) here, right?
>> Keep Calculate first
Regards,
Ritesh
Hi ,akakapoor,
NOTE: Add a custom index column first Creating an Index column using a Power Query - Power BI Docs
Step 1
- learner034 years ago
Post Partisan
ribisht17 I tried with the above and I am getting below view as per my data-
The dates are rolling14 days. This is giving me opposite output, example-Bins Count OUT were more than the previous day, so basically 22 more were completed than previous day, but this is showing -22.
How can I make it Positive?
- ribisht174 years ago
Super User
So, you need to just reverse the order Cumulative Difference =([Prev])-CALCULATE(sum('Cumulative Diff'[Qty])) here, right?
>> Keep Calculate first
Regards,
Ritesh