Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Using Math Functions on a Variable Expansion

I have a variable (vMinSales from a slider) that I'm using in a set modifier that I want to multiply by 1000, Sum ({$< Sales_Value = {">$(#vMinSales)*1000"}>} Sales_Value), but the syntax does not work. I tried several variations, but none work. Is the only option to create a second variable and multiply it by 1000 and use that variable instead, or is there some syntax that will work?

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this

=Sum ({$< Sales_Value = {">$(=vMinSales*1000)"}>} Sales_Value)

Hope this helps you.

Regards,

Jagan.

View solution in original post

3 Replies
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this

=Sum ({$< Sales_Value = {">$(=vMinSales*1000)"}>} Sales_Value)

Hope this helps you.

Regards,

Jagan.

Anonymous
Not applicable
Author

Works perfectly. Thanks.

Just out of curiosity, where would you find that in the reference manual. I'd like to read more about using variables.

jagan
Luminary Alumni
Luminary Alumni

Hi,

This is there in Qlikview Help file by pressing F1 and goto the Set Analysis topic.

Regards,

Jagan.