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

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