Forum Discussion
StepanResl
6 years agoFrequent Visitor
Recursive Calculation of Table
Hey, I have table like this with columns Year, Month, Person, Static (Costs) and Revenue. I am trying to find out, how to provide last column inside Power BI. In column header I wrote Excel Formula ...
v-lionel-msft
6 years agoCommunity Support
Hi StepanResl ,
I can't understand your pseudocode, can you give an example? For example, how was the first line calculated?
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
StepanResl
6 years agoFrequent Visitor
Hey v-lionel-msft ,
it works like:
(SUM value from same column (where were are calculating this), where we are still talking about same Person as in actual calculating row but with (Month - 1)) + (Value from column Revenue (in actual row) - Value from column Static (in actual row)) if result is lower then 0, then result should be zero.