Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I want to make a table representing values as below:
| Category | 2021 | 2022 | 2023 |
| | current | previous | current | Previous | current | Previous |
| a | 21 | 0 | 32 | 21 | 20 | 32 |
| b | 74 | 0 | 45 | 74 | 82 | 74 |
I tried using set analysis in pivot but it is not working for other year in year 2021 column and so on.
Hello @akmalquamri
I think the function you are looking for is before()
Being current the metric you used for the first column, or:
Best regards.
Hello @akmalquamri
I think the function you are looking for is before()
Being current the metric you used for the first column, or:
Best regards.
Thanks, Javizh,
It 's working