Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey i want to show only last 12 month with condition acumulation,
Here my sintax :
Hi
Try like below
Hi i think you missed my point ,
i want to calculate only last 12 months but if i follow your latest syntax it's only accumulate from last 12 months from the periods, but what i want is to accumulate started from the data beginning but i only choose last 12 months
The expected result should be (Jan 2023 - Jan 2022) but the data should accumulate all of the data when started (The data started Apr 2020) so from my calculate value in Jan 2022 should be : 1.374
HI
For this kind of scenario, you can try 2 things.
1. Store the values from starting (Apr 2020) to before display month (Dec 2021) in the variable and use in the chart along with ur last 12 months expression. ex: 1.368 value is stored in the variable .. hope it will give some idea to achieve it.
2. Else, you can calculate the accumulation in the script level itself and display in the front end. In script level, you need to use group by including the filters available in the front end to change dynamically. little bit tricky.