Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Conditional

Hi,

How to display charts based on the selectio.

For Ex:

Lest Box:

%Chart

EAD

EAD Graph

RW

RW Graph

I have different charts with above names.

If I Select EAD then EAD chart should display, like wise If I select EAD Graph then EAD Graph Chart should displa..,

Thank you.

1 Solution

Accepted Solutions
rubenmarin

Hi Raj, please check attachment, i made a simple test document with text objects

View solution in original post

14 Replies
rubenmarin

Hi Raj, in Layout tab you can check 'conditional' on 'Show panel', in ther you can use an expression for each grap, ie. for EAD chart you can use:

%Chart='EAD'

If you want more than one selections to be possible you can check index of a concat function like:

Index(';' & Concat(%Chart, ';') & ';', ';EAD;')--> this will show EAD checrt if EAD is in the possible values

Anonymous
Not applicable
Author

Hi!

You can try using this on your conditional rule:

GetFieldSelections(YourFieldName) = 'EAD'

You'll find an example on the attached file.

Regards,

Gabriel

Not applicable
Author

Thanks Gabriel

Not applicable
Author

Thanks Ruben.

Not applicable
Author

Hi,

With the above I can make one selection at time.

But If I want to select 2 charts, I could't

For ex: If I select 2 options- EAD and EAD Graph.

Thank you.

Not applicable
Author

Hi,

With the above I can make one selection at time.

But If I want to select 2 charts, I could't

For ex: If I select 2 options- EAD and EAD Graph.

Thank you.

rubenmarin

Hi Raj, my second option won't work?, in example:

Index(';' & Concat(%Chart, ';') & ';', ';EAD;')--> this should be the conditional show expression for the EAD Chart

anbu1984
Master III
Master III

Use Index(GetFieldSelections(Dim1), 'B')

Not applicable
Author

Hi Ruben,

I created seperated Inline load like:

LOAD

* INLINE [
%Chart
RWA Summary
RWA Summary Graph
EAD Summary
EAD Summary Graph
PD Weighted Average
PD Weighted Average Graph
LGD Weighted Average
LGD Weighted Average Graph
]
;

Thats why, Getcurrentfied selection worked.

Thank you.