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

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
ilanbaruch
Specialist
Specialist

variable with set analisys

hi all,

trying to count orders that are above value in a variable,

tried like this :

Count(DISTINCT{$<'$(vValue)' >= {'3'} >} order_id)

but.. wont work, any ideas?

11 Replies
trdandamudi
Master II
Master II

Please share some sample data with the required output, so that we can take a look and come up with a solution...

vinieme12
Champion III
Champion III

Try this instead

Count({<$(vValue) = {">=3"} >} DISTINCT OrderID)

Or

count(distinct if(sum(flag_field)>=3,OrderID))

or

count(distinct if($(vValue)>=3,OrderID))

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.