Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Show the stores where the selected product is not sold

Hi,

I have many stores across multiple retailers - when selecting a product I would like to show only the stores where that product is not sold

I have tried the following expression 'count({1-$} [Store Name])' - this works but shows all stores across all retailers where the product has not been sold. I need it to show the stores for the current selected Retailer only

Thanks

1 Reply
chematos
Specialist II
Specialist II

My recomendation is that you write 1 in the load script for each row with no sales and you could use sum(NoSales) that increase the performance than using Count

Load *,

if(isnull([Store Name]),1,0) as NoSales

From XXX;