Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
bhavvibudagam
Creator II
Creator II

IF Condition to use in Pivot Table

Hi Experts,

Can anyone please help me on this.

In the Pivot Table

Dimensions: Row1,Row2 Fields

Column:  Column field

Measure:

Pick(Match([RAG]),2,1,0,3),'R','A','G','W')

Now the requirement is I have to derive one Status Column with the below logic

Under Column Field have the records like Electronics,Fruits,Clothes,Books,Remotes,Robos,Products.

If all these records are W then the the status should be W

If any of the record contains Red then the Status should be R.

Please provide the solution to get the status column with the above condition.

Thanks in advance

1 Solution

Accepted Solutions
mdmukramali
Specialist III
Specialist III

Hi,

Instead of Adding Group in the Dimension Can you add an expression for each group.

Something like below.

216151.PNG

Kindly find the attached Updated file.

Thanks,

Mukram.

View solution in original post

2 Replies
mdmukramali
Specialist III
Specialist III

Hi,

Can you share sample data file.

mdmukramali
Specialist III
Specialist III

Hi,

Instead of Adding Group in the Dimension Can you add an expression for each group.

Something like below.

216151.PNG

Kindly find the attached Updated file.

Thanks,

Mukram.