Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Expression Error

I want to delete any thing start with 'DUM'

test.png

I try this expression but it doesn't work !

=if(left ([P_PO Number]) = 'DUM', PurgeChar([P_PO Number],''))

1 Solution

Accepted Solutions
tamilarasu
Champion
Champion

Hi Mohammed,


Try,


=if(Left ([P_PO Number],3) <> 'DUM', [P_PO Number])

View solution in original post

4 Replies
tamilarasu
Champion
Champion

Hi Mohammed,


Try,


=if(Left ([P_PO Number],3) <> 'DUM', [P_PO Number])

marcus_sommer

Try: if(left([P_PO Number], 3) <> 'DUM', [P_PO Number])

- Marcus

Kushal_Chawda

try this

=if(not wildmatch(lower(trim([P_PO Number])),'dum*'),[P_PO Number]) as [P_PO Number]

PrashantSangle

Hi,

One more solution

try with match() or wildmatch()

like

if(not wildmatch([P_PO Number],'DUM*'),[P_PO Number])

or

if(not match([P_PO Number],'DUM*'),[P_PO Number])

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 🙂