Forum Discussion

SebSchoon1's avatar
SebSchoon1
Icon for Post Patron rankPost Patron
4 years ago

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

  • Yes, that is one of the options to handle your scenario.  Would you mind providing some sample data in usable format?

      • lbendlin's avatar
        lbendlin
        Icon for Super User rankSuper 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?