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

which function is suitable? (check first digit of field)

 Hi, 

I want to check all ids and if they begin with 3 or 4 assign them a certain date and otherwise state that no change is made

So something like that,

if( id begins with 3 or 4, "date is this", "no date change")

 

so im looking for a field function but i cant figure out which one.

 

Thanks in advance!

1 Solution

Accepted Solutions
jonathandienst
Partner - Champion III
Partner - Champion III

Like this:

if(Match(Left(id, 1), '3', '4'), <expression if true>, 'no date change')

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein

View solution in original post

1 Reply
jonathandienst
Partner - Champion III
Partner - Champion III

Like this:

if(Match(Left(id, 1), '3', '4'), <expression if true>, 'no date change')

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein