Forum Discussion
RafalK
Advocate IV
10 years agoRunning Total on a non-date column
Hi guys, I am having some real problems with calculating a running-total in Power BI. Main problem here is that my running total should be based on a calculated measure. Here is the problem: C...
- 10 years ago
Please try with following Calculated Measure for the cumulative sales. It should be able to reduce the calculation.
Cumulative_Sales_Measure = CALCULATE ( SUM ( Table1[Sales] ), FILTER ( ALL(Table1), Table1[Sales] >= MAX ( Table1[Sales] ) ), VALUES ( Table1[Brand] ) )
Regards,
v-sihou-msft
Microsoft Employee
10 years ago
Please make sure you’re creating a Calculated Column instead of a Measure with above formulas.
Regards,
jyothiK
3 years agoRegular Visitor
| S.no | Job Name | Fail_count | Running_fail_count_Sum |
| 1 | sapbw | 110 | 110 |
| 2 | Sslog | 90 | 200 |
| 3 | tdnxt | 63 | 263 |
| 4 | rtxls | 22 | 285 |
How do i get the S.No generated based on Fail_count ? and running_count as shown in the sample. .. Job_name and Fail_count is available.