Forum Discussion

Akos07's avatar
Akos07
Helper I
4 years ago
Solved

Stock quantity counting help

Hi,   I have the following problem. My matrix countains products, currentstock at time, and current price at the time.   As you can see, this product started with 40 stock, and gets low...
  • Akos07's avatar
    Akos07
    4 years ago

    Hi, i found the solotion. In the item table for each row i created a new cumulative sum column. After that, i created a measure that gets me the max ID for each date. After that i know the row with the quantity i am looking for.