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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources 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.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

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

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