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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
nikhilgarg
Specialist II
Specialist II

Prob in Script

Hey,

In my dashboard, i am fetching data from OLEDB source. Now, there is a Field "BusinessGroup" in databse.

Now if BusinessGroup = 'ABC%' Then ABC else fetch Desk field values from flat file.

How can i do this in script??

11 Replies
PrashantSangle

Hi,

Just simply use wildmatch() or match() with wildcharacter *

try like

if(wildmatch(BusinessGroup),'ABC*','ABC',DeskField) as new_DeskField

Use wildmatch() if you want to non case sensitive search

and

Use match() if you want to case sensitive search

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Not applicable

hi,

=if(wildmatch( FIELD1, 'ABC*')  as  Flag

it returns 1,0 ----1 means data which will be start from ABC

0-means other than ABC

Regards

Vimlesh