Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements
QlikWorld, June 24-25, 2020. Free virtual event for DI and DA gurus. Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
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
Highlighted
Specialist III
Specialist III

Re: IF Condition to use in Pivot Table

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
Highlighted
Specialist III
Specialist III

Re: IF Condition to use in Pivot Table

Hi,

Can you share sample data file.

Highlighted
Specialist III
Specialist III

Re: IF Condition to use in Pivot Table

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