Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
Join “Do More With Qlik” with Mike Tarallo to get a first-hand look at the New Authoring Experience, June 29th: REGISTER HERE
cancel
Showing results for 
Search instead for 
Did you mean: 
annabergendal
Partner
Partner

Greater than variable in set analysis

I have a variable with current Year-Week that I use successfully in set analysis:

sum({$<ÅrVecka={"$(=$(vG.CurrentWeek))"}>}Sales)

 

Now, I want to convert it to greater than, but I cannot make it work, should be simple, please advise!

 

5 Replies
tincholiver
Creator III
Creator III

Try this

sum({$<ÅrVecka={">=$(vG.CurrentWeek))"}>}Sales)
annabergendal
Partner
Partner
Author

Doesn't work unfortunately

tincholiver
Creator III
Creator III

Can you share de app?

tincholiver
Creator III
Creator III

Sorry, the expression had a bad parenthesis,

sum({$<ÅrVecka={">=$(vG.CurrentWeek)"}>}Sales)

 

tell me if it keeps throwing an error?

annabergendal
Partner
Partner
Author

It gives me just 0... I will see if I can share the app later.