I will guess that some of the values you are trying to select have a numeric representation, that's why sometimes it's not working, see => https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/EngineAPI/Content/Classes/FieldClass/Field-class-SelectValues…
You may need to send qIsNumeric and qNumber (numeric representation) for certain values.
An easy way out is to use instead the selectMatch method => https://help.qlik.com/en-US/sense-developer/3.0/Subsystems/APIs/Content/MashupAPI/Methods/selectMatch-method.htm
I hope this helps,
Thanks Aiham you answer helped me on the way .
I have several selections with different fields so the selectMatch wont help because it will only be the last value selected in the end.
It don't work when I try with qNumber instead of qText, I think i need to convert the values to some kind of date value.
An easy way to check if a value has a numeric value is single configurator:
- open your app in Single Configurator
- in the option pannel under `Apply selections` - click on `Add data`
- select field => select value
- check your URL
Example from Helpdesk Management app the Filed Dat with value 10/14/2010 is resulting in the URL as `&select=clearall&select=Date,40465` <= `40465`
Alternatively, you can check qNum from one of the values => https://help.qlik.com/en-US/sense-developer/April2018/Subsystems/APIs/Content/CapabilityAPIs/FieldAPI/QFieldValue.htm