Skip to main content
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

3 Replies
Gysbert_Wassenaar

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.