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: 
annabergendal
Partner - Creator
Partner - Creator

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 - Creator
Partner - Creator
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 - Creator
Partner - Creator
Author

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