Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Different dimension fields have different expressions

Dear All:

   Hi,My goal is shown below:

bb.png

Resources:

LOAD * INLINE [

   PP,  Set, Value

   MM, AA, a1

   MM, AA, a2

   YY, AA, a3

   YY, BB, b1

   HH, BB, b2

   HH, BB, b3

   XX, CC, c1

   XX, CC, c2

   XX, CC, c3

];

Try the results:

cc.png

Can you help me?

1 Solution

Accepted Solutions
jyothish8807
Master II
Master II

Try like this:

expression:

if(ColumnNo()=1,1,if(ColumnNo()=2,2,3))

Br,

KC

Best Regards,
KC

View solution in original post

3 Replies
jyothish8807
Master II
Master II

Try like this:

expression:

if(ColumnNo()=1,1,if(ColumnNo()=2,2,3))

Br,

KC

Best Regards,
KC
Anil_Babu_Samineni

Not sure, What you are looking, If you create 3 dimensions and without measure you will reserve it,

1) Make sure, to change from column to row of second and third dimensions

2) Suppress null value in presentation tab..

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Anonymous
Not applicable
Author

Thank you. Your example has helped me a lot.