Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Pivot table - 2 same dimension

Hello,

I have a table Year Month, Bucket and RefNOid.

I am trying to build a pivot table with 2 dimensions in it. One with Bucket for current month and second dimension with last month.

I am not able to get the desired output as seen in the attached excel sheet.

Need your help to define the dimensions/ expression to get this output.

Untitled.png

1 Solution

Accepted Solutions
mkelemen
Creator III
Creator III

Hi,

it is possible - you have to use p() function in set analysis.

Here is quite good explanation Indirect Set Analysis for P() and E()

You can find it implemented in the qvw.

BR,

  Matus

View solution in original post

3 Replies
lironbaram
Partner - Master III
Partner - Master III

hi

in your case i think it's better to calculate the previous bucket in the load script

attach is an example

Anonymous
Not applicable
Author

Any alternative on how to handle at dimension and expression level at front end ?

mkelemen
Creator III
Creator III

Hi,

it is possible - you have to use p() function in set analysis.

Here is quite good explanation Indirect Set Analysis for P() and E()

You can find it implemented in the qvw.

BR,

  Matus