Forum Discussion
Anonymous
5 years agoNot applicable
PROBLEM: Waterfall chart with change value / Running Total
Hello, I am currently working on a waterfall chart. I only have the "change" values. So waterfall chart is not working. I tried to solve this with a running total which is not perfectly working, as i...
- 5 years ago
Sorry about that.
Running Total = var d=max('Modell (2)'[DAY]) var c=max('Modell (2)'[Change]) var ov=sumx(filter(ALL('Modell (2)'),'Modell (2)'[Change]=c && 'Modell (2)'[DAY]<=d),'Modell (2)'[Values]) var tov=sumx(filter(ALL('Modell (2)'),'Modell (2)'[DAY]<=d),'Modell (2)'[Values]) return if(isfiltered('Modell (2)'[Change]),ov,tov)
lbendlin
Super User
5 years agoTry this version instead:
Running Total =
var d=max('Modell (2)'[DAY])
var c=max('Modell (2)'[Change])
var ov=sumx(filter(ALL('Modell (2)'),'Modell (2)'[Change]=c && 'Modell (2)'[DAY]<=d),'Modell (2)'[Values])
var tov=sumx(filter(ALL('Modell (2)'),'Modell (2)'[DAY]<=d),'Modell (2)'[Values])
return if(HASONEVALUE('Modell (2)'[Change]),ov,tov)
Anonymous
5 years agoNot applicable
Hi lbendlin , thanks a lot for your help and the proposal, looks quite good already, only for the last quarter it shows me the wrong total. I assume it is because the negative value is the only value? How can I fix that? Best would be to have the running total in every line.
Thank you for your help 🙂