Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
yunus_emre
Contributor II
Contributor II

Single quote-double quote in usage variable

Hi everyone,

Firstly, we are using Qlik Sense November 2018. In an app, single quote is working but in another app not working. I think there was a bug about this issue. Was the problem fixed in the next versions?

This is my Expression:

Sum({<YEAR = {'$(v_maxyear)'}>} SALES)

This is my variable: v_maxyear = max(YEAR)

Thanks a lot

2 Replies
Vegar
MVP
MVP

As your variable is an expression you need to evaluate it.

You can do that by either adding an equalsign to your variable value leaving your variable looking like this 

=MAX(YEAR) 

Or you can adjust your expression like this

Sum({<YEAR = {'=$(v_maxyear)'}>} SALES)

 

yunus_emre
Contributor II
Contributor II
Author

Yes, you are definitely right. I can also handle by using double quote instead of single quote.

But my main problem is that the same expression and variable work in an app, however, it doesn't work in another app.

Do you have any idea?

Thanks