Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, Everyone.
Is there any way to replicate the line chart in this application in a cumulative version like this one?
I have tried this: RangeSum(Above(Sum(evo_page_like), 0, RowNo()))
But I think I had some problem with the dimensions.
Filter Pages: A, C.
Thanks.
Try this
Aggr(Sum(TOTAL <nome_pagina> evo_page_like) - RangeSum(Above(Sum(evo_page_like), 1, RowNo())), nome_pagina, dt_extracao_page_like)
Maybe reference this prior post for help?
Line Chart: running total with multiple dimensions (month, year)
Hi, Dan.
I tried with the Aggr function, but the result was not correct. Take a look.
Aggr(RangeSum(Above(Sum(evo_page_like), 0, RowNo())), nome_pagina, dt_extracao_page_like)
The final values are correct (1053 and -451), but the others are not.
The right visualization would be:
Regards.
Try this
Aggr(Sum(TOTAL <nome_pagina> evo_page_like) - RangeSum(Above(Sum(evo_page_like), 1, RowNo())), nome_pagina, dt_extracao_page_like)
Hi, Sunny.
It worked.
I think understood the logic behind your expression. But can you explain it to us?
Thanks.
All I did is to get the overall total and subtracted the cumulative value to get the downward sloping line instead of upward sloping line.
For example
Dim, Value, Upward Sloping, DownwardSloping
1, 10, 10, 60-0 = 60
2, 20, 20, 60-10 = 50
3, 30, 30, 60-30 = 20