Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III
Creator III

Match(If statement with 3 elements

Hello

I have written a match(if statement but it does not seem to be wokring correctly, although no errors turn up in the reload , although i do not get the desired results

 

If(Match(month_end_breach_risk_6wks, '3) Dated - in month breach', '4) Dated - month end breach'), 'Other', Match(month_end_breach_risk_6wks,'2) No date','No Date', 'Date In Time')) as Test

Could someone cast an eye over my If statement , what I want to achieve is 3 elements

1) Other

2) No Date

3) Dated In Time

Thanks

Helen

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

If(wildmatch(month_end_breach_risk_6wks, '3) Dated - in month breach', '4) Dated - month end breach'), 'Other',

if(wildmatch(month_end_breach_risk_6wks,'2) No date'),'No Date', 'Date In Time')) as Test

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!

View solution in original post

2 Replies
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Try this,

If(wildmatch(month_end_breach_risk_6wks, '3) Dated - in month breach', '4) Dated - month end breach'), 'Other',

if(wildmatch(month_end_breach_risk_6wks,'2) No date'),'No Date', 'Date In Time')) as Test

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
helen_pip
Creator III
Creator III
Author

Thank you

This works a treat

Thanks

Helen