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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Expression selection criteria


Hi

I need to exclude a specific range of products from a pivot table. Typical product no looks like "D0002456". If I want to exclude all products including a "D" in the number - what expression IF statement can I use.

Will appreciate.

Fanie

Labels (1)
3 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

You can add set modifiers to your expressions in your pivot table. For example sum(Amount) would become sum({<Product-={'D*'}>}Amount) to exclude Products starting with a D. If you want to use an if statement you can use something like =if(not Product like 'D*',sum(Amount))


talk is cheap, supply exceeds demand
Not applicable
Author

hi

try this

=sum({<Product={"*"}-{'D*'}>}Sales)

if you have any doubt please refer the attachment

Not applicable
Author

Thank you - I will try out.