Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
hkg_qlik
Creator III
Creator III

Pie Chart (Calculated Dimension)

Hi,

I am using a calculated dimension in a Pie chart as follows:

=IF(Message_Type = 'Error', 'Error' , 'Success')

The above 'IF' statement is working fine. But now the requirement got changed.

Now I have to include following Message_Types: Error, Warnings, Completed in the Pie Chart. But if Message_Type is not equal to Error, warnings, Completed it should flag as Success.

Please advise

Regards,

H

1 Reply
johnw
Champion III
Champion III

I'm not sure I understand.  Maybe this?

=if(match(Message_Type,'Error','Warnings','Completed'),'Error','Success')

If so, I'd do this in the script, making some new field like Message_Group.  I prefer more complicated script and simpler charts.  It's better for chart performance.