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

Announcements
Only at Qlik Connect! Guest keynote Jesse Cole shares his secrets for daring to be different. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
QSense
Creator II
Creator II

wildmatch function

Hello ,

I have a sql statement getting data from db

İn load expression I want to get a conditional data seen below

load *,

if ( wildmatch(mdbadmin.rootcause.sym,'Altyapi*','*Altyapi','*Altyapi*'),'Altyapı',

if ( wildmatch(mdbadmin.rootcause.sym,'Uygulama*','*Uygulama','*Uygulama*'),'Uygulama',

if ( wildmatch(mdbadmin.rootcause.sym,'Planli Calisma*','*Planli Calisma','*Planli Calisma*'),'Planli Calisma'))) as KOKNEDEN

;

sql :

select ...

..

..

..

mdbadmin.rootcause.sym as VardiyaRap_RootCause,

but I have getten error fields not found

4 Replies
Not applicable

Hello!

If you renamed field as "VardiyaRap_RootCause" in wildmatch function, should use this new field name and no mdbadmin.rootcause.sym, because mdbadmin.rootcause.sym no longer exists.

Regards...

QSense
Creator II
Creator II
Author

Hi,

I used VardiyaRap_RootCause but it also didnt work

jeffmartins
Partner - Creator II
Partner - Creator II

Hi qliekview,

You can use the pick and wildmatch functions to solve this.

See the attached file. Hope it helps you.

Regards

Nagaraju_KCS
Specialist II
Specialist II

Hi,

please explain wildmatch function..

i am new to learn..