Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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