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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

if Statement

=if([GL_Hierarchy Short Description2]='Profit & Loss A/C's,[GL_Hierarchy Short Description2])

getting error on this point in above statement A/C's, kindly help me to fix this out.

Regards.

Labels (1)
1 Solution

Accepted Solutions
Miguel_Angel_Baeyens
Support
Support

Hi,

Try instead

=If([GL_Hierarchy Short Description2] = 'Profit & Loss A/C' & Chr(39) & 's', [GL_Hierarchy Short Description2])

The Chr(39) substitutes the ' character.

Hope that helps.

Miguel

View solution in original post

2 Replies
Miguel_Angel_Baeyens
Support
Support

Hi,

Try instead

=If([GL_Hierarchy Short Description2] = 'Profit & Loss A/C' & Chr(39) & 's', [GL_Hierarchy Short Description2])

The Chr(39) substitutes the ' character.

Hope that helps.

Miguel

Not applicable
Author

thnxs Miguel