Forum Discussion
Anonymous
4 years agoNot applicable
Cumulative Running Total
Hello, I need help on cumulative running total, it adds on acsending order (alphabetical order) base on column test The thing is i want to add first is the biggest number down to the l...
TomMartens
4 years agoSuper User
Hey Anonymous ,
Try this measure
measure =
var currenterrors =
calculate( sum( 'yourtable'[# errors] ) )
return
calculate(
sumx(
filter( 'your table'
, 'yourtable'[#errors} >= currenterrors )
)
, 'yourtable'[#errors}
)
, all('yourtable'[test]
)
Hopefully, this provides what you are looking for.
If not provide sample data, and describe the expected result based on the data you provide.
Regards,
Tom
- Anonymous4 years agoNot applicable
- TomMartens4 years agoSuper User
Hey Anonymous .
deleted the leading bracket in line 8.
Regards,
Tom- Anonymous4 years agoNot applicable
Hello, the error was removed and new error exist lol why im getting this error on visual
Here is the code