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

Display chart's result when selecting Expression

Hello

How could I accomplish the following:

Have a table with some indicators (expressions) their names are in first column of the table. When click on any of them, line chart at the right changes and adjustes to match such indicator's values.

In the example, green shaded indicator (ROA) is selectd and the line chart show its values. When selecting ROE, the line chart will show ROE values.

QUestion.JPG

Thanks

4 Replies
Not applicable
Author

If you are on version 11 you can try setting up conditional expressions. have them set to be enabled based on getfieldvalue(KPI)

Not applicable
Author

Thanks Im using v10

Not applicable
Author

Even then you can create 1 expression that contains different expressions with an if statement.

if(GetFieldSelections(KPI)=MIN, sum(Min), if (GetFieldSelections(KPI)=ICV,sum(ICV)))

Another option would be to create a chart for each KPI and conditionally suppress based on the selection.

Not applicable
Author

Where should I create this expression? in the chart? in the table?

for second option, how can I implement the condition to switch between charts? depending on KPI selected