Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I have a bar chart, with sum sales per year.
My problem is that i lose clients as the years increase. i want to make an acomulate sum with the clients.
For example
i have 3 clients, and Sum(Sales) are 120 millons in 2015.
In 2016 i lose 1 client and the Sum(Sales) are 100millions.
The information in my table is:
Client
Client | Year | Sales |
---|---|---|
Client 1 | 2015 | 20 |
Client 2 | 2016 | 50 |
Client 3 | 2017 | 50 |
Something like that
Thanks for all
Try this expression: sum(total Sales) - rangesum(above(sum(Sales),1,rowno()))
Sorry but It doesn´t work, y take negative values.
The year is the year y lose de client.
what is "total sales"?
thanks
Gysbert's expression seems to be working here: