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: 
rahulhv1
Creator II
Creator II

Can we change charts by passing parameters?

Is it possible to pass parameter to the charts . e.g.  at present i am generating sales chart for top 5 customers, what i need, if end user wants to see for top 10 customers, he should be able to pass parameter in Input box and not through Dimension Limits.

If this is possible pls. elaborate with an example.

12 Replies
Anonymous
Not applicable

Create a input box and assign its value to a variable, say, vMax.

Now in Dimension limits, you can define in Show Largest >> vMax;

Now when user will input any value , that number of dimension willl be available only, and uncheck show others.

Even this can be achieved  from Presentation tab.

Regards

Nitin

rahulhv1
Creator II
Creator II
Author

Yes, i got it, thank you, but how to use this value in Charts title?

Anonymous
Not applicable

In chart title also you can write expressions...

You can Use as >> 'Top'&vMax&'Values are shown'

(something like that)

Regards

Nitin

rahulhv1
Creator II
Creator II
Author

Thanks for your answer, but sorry , its not working.

Anonymous
Not applicable

have you used variable name vMax or some else....

If then also its not working then try

= 'Top'& $(vMax) &'Values are shown'

sujeetsingh
Master III
Master III

Follow this link it may help you

http://community.qlik.com/thread/36393

rahulhv1
Creator II
Creator II
Author

=vmx &' Top Values are shown'  is working , but 'Top'& $(vmax) & 'values are shown' is not working...  thans for your reply

Anonymous
Not applicable

I think , you have variable name vmx, while I was using vmax...

That the difference only...

jagan
Luminary Alumni
Luminary Alumni

Hi,

Your variable name vmx and use this

='Top '& vmx & ' values are shown'


Hope this helps you.


Regards,

Jagan.