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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
vijayit43
Creator
Creator

Expression Issue..

In My QV State, Brand ,RetailerCode are Dimension and count retailercode in expression ...

Brand 3 Types A,B,C when we Select A then Count B and C Brand Retailer,when we Select B then Count A and C Brand Retailer,

when we Select C then Count A and B Brand Retailer how to achieve it Please Suggest..

6 Replies
anbu1984
Master III
Master III

=Count({Brand=E(Brand)}RetailerCode)

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

count({<Brand=e(Brand)>} retailercode)


talk is cheap, supply exceeds demand
vijayit43
Creator
Creator
Author

in above we put wrong question A,B,C is Dimension, when Dimension is A then Count B and C Brand Retailer,

when Dimension is B then Count A and C Brand Retailer,when Dimension is C then Count A and B Brand Retailer

anbu1984
Master III
Master III

Check this

vijayit43
Creator
Creator
Author

Its Not Solve My Problem because my code is use

count({<VisitDate = {'>=$(=Date(vStartDate))<=$(=Date(vPrevEndDate))'}, RetailerCode=p({<Brand=e(Brand), VisitDate = {'>=$(=Date(vStartDateNew))<=$(=Date(vEndDateNew))'}>} RetailerCode)>} DISTINCT RetailerCode)

Its Work when we select Brand but when we no brand selected then give result 0 we want give actual result, how to solve its urgent.. detail link bellow

Expression Problem

vijayit43
Creator
Creator
Author

Hi Expert Please suggest...