Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

not match

Hi Guys,

I want to write a expression if Category matches Chair, Table then Furniture , if Category not matches Dummy then Other Items.

How to write this in qlikview script.

3 Replies
vinieme12
Champion III
Champion III

using Wildmatch() or Match() function

example

if(Wildmatch(Category,'Chair','Table')>0,'Furniture','Dummy')

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
nitin_01
Creator
Creator

Hi Roisha,

This might help you,

                                =if(Category='Chair' or Category='Table','Furniture',Other Items)

Or

                                If(Match(Category,'Chair','Table'),'Furniture',Other Items)

Regards,

Nitin.

bhargav_bhat
Creator II
Creator II

Hi Roisha,

This might be the equation you are looking for

if(Category='Chair' or Category='Table','Furniture',if(Category-='Dummy','Other Items',Category))