Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Dropdown list for selecting views

How can i create a dropdown list which has the values " Bar Chart" and " Pie Chart" and upon selecting Bar Chart i must see bar chart only..and upon selecting pie chart i must see pie chart.

Please help me on this .

4 Replies
its_anandrjs

Load one table

ChartSele:

LOAD * Inline

[

ChartType

Bar

Line

];

On Bar Chart Layout property write

=GetFieldSelections(ChartType)='Bar'

On Line chart Layout property write

=GetFieldSelections(ChartType)='Line'

its_anandrjs

You have to introduce one table in your data model for chart type selection

Ex:-

ChartSele:

LOAD * Inline

[

ChartType

Bar

Line

];

On Layout property Bar chart in Show >> conditional >> 

=GetFieldSelections(ChartType)='Bar'

On Layout property Bar chart in Show >> conditional >> 

=GetFieldSelections(ChartType)='Line'

See attached also

Anonymous
Not applicable
Author

Hi,

Where exactly we have layout property in qlik sense?

Regards,

Faris.

its_anandrjs

If you working on Qliksense then check the Qlik Branch site you have to find any API for this.