Forum Discussion
BenediktW
Advocate I
2 years agoVisual calculation: running sum - sorting issue
Hello together, I ve tried to utilize the new visual calculations to calculate running sums (cumulative percentage sales per customers as running totals). Anyhow, I have the problem that the ...
BenediktW
Advocate I
2 years ago
Finally I found a solution without runningsum but with visual calc, which is working properly:
FORMAT(SUMX( WINDOW(1, ABS, 0 ,REL, ALLSELECTED([Customer, ], [Sales]), ORDERBY([Sales], DESC
)), [Share total Sales]) , "Percent")
jeroenterheerdt
Microsoft Employee
1 year agoSince July, you can do the same using just RUNNINGSUM with the OrderBy parameter