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: 
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 ...