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: 
pooja_sn
Creator
Creator

Multiple ID Search

I have a field 'ID' which has 7 digit number format eg. 1234512, 0234512, 0003456, 0000312.

I'm using an Input box & a Search button to add a functionality to search multiple IDs at a time.

InputBox is associated with var vID & 'Select in Field' action added added on button for 'ID' field with value  ='('&replace(replace(vID, ',' ,''),' ', '|')&')'  (User enters text "1234512, 0234512, 0003456 " which is converted in format  "(1234512|0234512|0003456)"

Now, this works perfectly fine if user enters a 7 digit number. But, how can we modify this to search an ID without any leading zeros. eg, 1117,345 instead of 0001117,0000345

1 Reply
rubenmarin

If it helps, as a workaround you can use 'toggle select' action and users can add values one by one, it that case you can use =Num($(vID),'0000000') as value for toggle select.