Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Passing more than 2 parameters in URL

I have more than 2 (precisely 4) parameters to be passed in URL.

For 2 parameters, I can just append &Select=LB01,Value&Select=LB02,Value to the existing URL. However, it's not working for more than 2 parameters.

I saw this thread Passing multiple parameters discussing about passing multiple parameters. Since I'm a beginner, I can't infer much from the thread.

I have attached the sample file explaining the problem I'm facing. Can someone throw light on this if possible?

9 Replies
avinashelite

you can try with comma separated values it works try like this

URL&Select=LB01,Value1,Value2,Value3 etc

Anonymous
Not applicable
Author

Hi Avinash,

The problem here is not about passing multiple values. It's about passing multiple parameters.

Say, if I want to select

Value1 from LB01

Value2 from LB02

Value3 from LB03

Value4 from LB04

That is where, the problem lies.

sasikanth
Master
Master

HI ,

Its working , reason might be with association of fields

pleas check the below image

189917.png

avinashelite

Hi Koushik,

One thing you need to remember is all the parameters your passing should be associated with it otherwise it will not have impact on the dashboard

Anonymous
Not applicable
Author

Hi Sasi,

Yes. In my original data, one field is not associated with the other 3. But other 3 are associated with one another.

Eg: Sales here is not associated with anything, while Product,Module,SubModules are associated to one another.

If possible, can you tell me how to solve this problem?

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try like this

http://localhost/QvAJAXZfc/opendoc.htm?document=Sales%20Compass.qvw&select=LB01,Value1&select=LB02,Value2&select=LB03,Value3&select=LB04,Value4


Regards,

Jagan.

sasikanth
Master
Master

HI Koushik,

Let us know the URL you are using ,

If any String selections then problem might be with '' codes , dont use '' codes for strings

&select=LB01,ProductP1&Select='LB02',ModuleM1&Select....

ProductP1 is a value in Product Filter

Anonymous
Not applicable
Author

Hi Jagan,

Yes. I tried that. If you check my Sample application, I mentioned about the list boxes I have. All the 4 are associated to one another.

In my original application

1st LB represents Metrics Name

2nd LB represents  Category

3rd LB represents Product

4th LB represents Accessories

I tried the following combinations in URL

1.&Select=LB02,CategoryValue&Select=LB03,ProductValue&Select=LB04,AccessoryValue

This works perfectly. All the 3 values are selected in the dashboard. Perfect. But something wierd happened immediately. When I hit enter to the same URL, only one value is passed (LB02 value in my case)

2.&Select=LB01,MetricsName&Select=LB02,CategoryValue&Select=LB03,ProductValue&Select=LB04,AccessoryValue

Only LB01 and LB02 values are passed and not the other values.

To get the distinct values for all the list boxes, I included '|' instead of space. Eg: |Head|Phones|

Anonymous
Not applicable
Author

Hi Sasi,

I avoided the single quotes from the beginning. Check my reply to Jagan where I have explained the whole problem I'm facing