Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Number of charts = GetPossibleCount ?

Hi everyone,

I would like to know if there is a way to create "dynamically" chart ?

I explain : When I choose a direction (active selection), I want a chart for each accounts linked to that direction.

So if you selected a direction, and GetPossibleCount(account)=3, I must have 3 charts for the 3 accounts.

My first thought was to create 5/6 charts (it'll never be more than 5 accounts), and put a condition to show it : if GetPossibleCount(account)=1, it'll show only the first one, and hide the others.

But is there any way to say to the first chart to get the first account possible, to the second one to take the second account, etc... ?

Or, if you've got any better idea, my ears are wide open ! Thanks in advance.

1 Solution

Accepted Solutions
marcus_sommer

You could use trellis charts for this - on the left bottom from dimension tab is a button for this.

- Marcus

View solution in original post

3 Replies
Not applicable
Author

Hi Antonin,

I don't now if I understand it well, but, going by my interpretation, you want to show a specific chart, when clicking on a specific account, is that right?

Have you tried to put an action on your chart?When you go to the object - actions, you can choose like, restore another object, when clicking on this first one, that will show/hide the chart you want, only when you make this selection.

I hope I helped you.

marcus_sommer

You could use trellis charts for this - on the left bottom from dimension tab is a button for this.

- Marcus

Not applicable
Author

Oh, that was that simple. I wasn't searching at the right spot !

Thanks a lot !