Forum Discussion
Do Not Consider If Accumulated Value Is Negative
- 2 years ago
Hi VilmarSch
This is an interesting topic. This kind of calculation referencing previous rows seems easier in Excel than in Power Pivot, but I am sure that there are many ways to achive this this in Power Pivot/ Power BI, too. For example, you can create helper columns in calculated columns to get the result you want.
I am sure that there are more elegant ways to achive your required output in one calculated column instead of the 3 columns approach above, but your required output is achived in this manner, too.
Hi VilmarSch
This is an interesting topic. This kind of calculation referencing previous rows seems easier in Excel than in Power Pivot, but I am sure that there are many ways to achive this this in Power Pivot/ Power BI, too. For example, you can create helper columns in calculated columns to get the result you want.
I am sure that there are more elegant ways to achive your required output in one calculated column instead of the 3 columns approach above, but your required output is achived in this manner, too.
- VilmarSch2 years ago
Post Partisan
DataNinja777 thank you for your help