Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
priyarane
Specialist
Specialist

variable - set

Hi Community,

Please give me format for below variable in set

vSearch = <3000 (I am entering in inputbox)

now I have to include above variable in sum(sales)

-Priya

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

May be this

Sum({<FieldName = {'$(=vSearch)'}>}Sales)

View solution in original post

2 Replies
sunny_talwar
MVP
MVP

May be this

Sum({<FieldName = {'$(=vSearch)'}>}Sales)

kaushiknsolanki
MVP
MVP

Hi,

Do you want to compare the each Sales value against the vSearch and only that value should be considered for expression then try below script.

Sum{<Sales ={">=$(vSearch)"}>}Sales)

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!