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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Abhi999
Contributor III
Contributor III

Wildmatch

i am using below condition

if(match(ProductType,'OEIC','ISA') and WildMatch(Department,'FM*','Outsourced Provider – AIGSL*','REAL ASSETS*'),'OEIC FM')

 

there is match condition between PRODUCT=oeic AND dEPARTMENT='Outsourced Provider -AIGSL)

it is showing empty.

Labels (1)
7 Replies
Qlik1_User1
Specialist
Specialist

Might be some of the condition is not fulfilled, share the sample data

sunny_talwar
MVP
MVP

Do you have a space between - and AIGSL or not? You match expression includes a space, but the next row doesn't

image.png

Abhi999
Contributor III
Contributor III
Author

Department:
LOAD
DID,
Department,
if(IsThirdParty=-1,'Yes',if(IsThirdParty=0,'No','N/A')) as IsThirdParty,
OrderBy

FROM [lib://Mandate QVD Generator (avivagroup_avelamuri)/dataREDDepartment.qvd]
(qvd) where if(WildMatch(Department, 'FM*','Outsourced Provider –AIGSL*','REAL ASSETS*'),'OEIC FM');

I am using above condition on table but it is showing all Departments whic didn't mentioned in condition also

sunny_talwar
MVP
MVP

This looks like a different question from the one your initially asked. Is the first issue resolved now?

Qlik1_User1
Specialist
Specialist

You didn't mentioned where condition correctly it seems

You have used

where  if(WildMatch(Department, 'FM*','Outsourced Provider –AIGSL*','REAL ASSETS*'),'OEIC FM');

Try this

where enter dim name= if(WildMatch(Department, 'FM*','Outsourced Provider –AIGSL*','REAL ASSETS*'),'OEIC FM');

Also as Sunny mentioned , please check if you are using correct field values without space..

Abhi999
Contributor III
Contributor III
Author

Thanks it worked for me

 

Qlik1_User1
Specialist
Specialist

@Abhi999 please close the thread by marking accepted as a solution.