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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Quetion in alternate state in doccument settings


Hello,

I got a doubt. I'm Having 3 filters(List boxes) Brand, Country and Segment. and I'm having 4 charts in the dashboard. I want the first two filters for all 4 charts let the first 2 filters be global filters  and 3rd filter (Segment) for only 2 of the 4 charts. I tried alternate state options from document settings but it is not working out. I cannot make global filters for all 4 charts. Is it any way to give multiple alternate state to a single chart?

1 Solution

Accepted Solutions
sasikanth
Master
Master

HI durga Prasad You  can achieve this using set analysis

like below

In those 2 charts which you dont want change when segement is selected

Write the Expression like

E.g :

=sum({<Segment=>}sales)

then the charts will respond if you made any selections on Segment

View solution in original post

13 Replies
alexandros17
Partner - Champion III
Partner - Champion III

Good idea,alternate states work but you must use a filter (with its alternate state) working on a table with the same alternate state and you have to insert in the filter all the fields you need, a filter cannot be simoultaneously global and local...

Not applicable
Author

you cannot assign multiple alternate states in document settings, rather you can do that using setanalyiss.

Lets say you create 2 alternate states Alt1 for filter3 and Alt2 for filter4 then the expression should be like below.

sum({<filter3=[Alt1]::filter3>}Sales

sum({<filter4=[Alt2]::filter4>}Sales

Not applicable
Author

Yes Ok Shruthi I will try it out


Not applicable
Author

Hi

you can try show conditional property in list box

Not applicable
Author

No not in list box I want to give multiple filters(i.e. Alternate states) to single chart

Not applicable
Author


Shruthi where do we have to give the condition? in alternate states?

sasikanth
Master
Master

HI durga Prasad You  can achieve this using set analysis

like below

In those 2 charts which you dont want change when segement is selected

Write the Expression like

E.g :

=sum({<Segment=>}sales)

then the charts will respond if you made any selections on Segment

Not applicable
Author

Hello Sasikanth

Where do I have to write the expression? in layout of the chart?


sasikanth
Master
Master

You have to write the same thing in your expression in those two charts