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

How to bind a value that repeat more than once to a list box

I have a table with two columns salpersonid & productid

I want to bind the Salespersonid to a list box who sold more than one unique product.

When Check the show frequency checkbox it shows the all salepersonids who sold at least one product, But i want to see the salesperson ids who sell more than one unique product at least.

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try using this expression for the listbox:

aggr(only({<Salespersonid={'=count(distinct Productid)>1'}>}Salespersonid),Salespersonid)

note: replace Productid with the field name of your product dimension.


talk is cheap, supply exceeds demand
Not applicable
Author

You can create a list box expression like:

if(count(Distinct ProductId)>1,SalesPersonID)

Test.png