Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

equating strings in a expression

Am trying to build a bar chart with the below as the expression condition in the chart .

if ((IMP_STATUS = 'End'), count(IMP_ORDER))

but this does not work .  Earlier i was able to use function returning a numeric value in the if condition . Is there a way to compare it ti a string?

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi,

What about using set analysis:

Count({< IMP_STATUS = {'End'} >} IMP_ORDER)

Hope that helps.

Miguel

View solution in original post

2 Replies
Miguel_Angel_Baeyens

Hi,

What about using set analysis:

Count({< IMP_STATUS = {'End'} >} IMP_ORDER)

Hope that helps.

Miguel

Anonymous
Not applicable
Author

Thanks Miguel , that works ...