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: 
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

1 Solution

Accepted Solutions
sunny_talwar

May be this

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

View solution in original post

2 Replies
sunny_talwar

May be this

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

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/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!