Forum Discussion
Running total with List.Accumulate with calculations
Hello,
I have a question concerning a function that I have never used before
List.Accumulate. However i think my case can be handled by this function.
Here below de desired logic.
Something like a running total but according to informations located in multiple columns.
i don't no if it is really understandable 🙂
5 Replies
- lbendlin
Super User
Yes, that is one of the options to handle your scenario. Would you mind providing some sample data in usable format?
- SebSchoon1
Post Patron
- SebSchoon1
Post Patron
Hello here the link wetrasnfer with a simple file in which i've made the table as showed previously as if final result from my queries.
- lbendlin
Super User
Thank you for the sample data. You may also want to provide an index column so that Power BI knows what the row order is.
Please explain how you link lines 1 and 3. Is it based on the first positive stock difference?