Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik® Product Spotlight: Discover what’s possible. Get more from our products.
See for yourself. Register today.
Not applicable

For ... Next in a variable - How to do it?

Hi,

I have the following variable which I use to create a URL made up of a string of ls.id 's.

'$(vNetworkURL)'  & concat('layer-service%3A%22' & replace(replace(ls.id, '/', '%2F'), ' ', '%20') & '%22', ' OR ')

Now I want to control the max number of ls.id 's in the URL string, how can I do this?

Is it possible, for example with a For..Next loop or is there a better way?

Thanks