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: 
Amit_B
Creator III
Creator III

Filtering in table

Hi,

I need some help, I don't understand what i do worng.

I have a table with 3 columns - ItemID, WarehouseID, Location, StockQuantity.

I want to display only items where the WarehouseID is not equal to several values, and the ItemName no inculde 'extra' (anywhere in the name). I wrote the next condition (as dimention) and it not work for me:

if(not (match(WarehouseID, 101,105 107 116) or wildmatch(ItemName,'extra')), ItemID)

(QS August 23)

Thanks.

Labels (3)
3 Replies
Anil_Babu_Samineni
MVP
MVP

Perhaps this

Load ItemID, WarehouseID, Location, StockQuantity From Table

Where Not wildmatch(WarehouseID, 101,105 107 116) or Not wildmatch(ItemName,'*extra*');

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Amit_B
Creator III
Creator III
Author

Thanks for the reply.

I need to do it in the UI sheet in the table settings. I set this as a dimension in the table.

Anil_Babu_Samineni
MVP
MVP

@Amit_B Please do like this then as calculated dimension

If(Not wildmatch(WarehouseID, 101,105 107 116) or Not wildmatch(ItemName,'*extra*'), ItemID)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful