Qlik Community

QlikView Layout & Visualizations

Discussion Board for collaboration on QlikView Layout & Visualizations.

Announcements
Announcing the newest addition to the Qlik Community, Qlik Gallery! Learn More
Highlighted
Chanty4u
Esteemed Contributor III

RE:Default selection

hi all,

I hve two container objects....

means container within container

in one container 3charts  and other container 3charts....

my requrmnt is  i need to set default selection in evry container

example:cont1: i hve lik

:daysband

with in dis   days ,week ,years

cont2:

:trend 

within dis

opened ,closed,nill

so i select daysband cont  i need to dispaly frst chart {means:days}

when i select  trend  always it wil shw frst chart as opened

is there any way

thanks in advance

15 Replies

Re: RE:Default selection

May be use alternate states for these two container objects with some sort of pre-selected selections? Do you think that will work? Would you be able to provide a sample?

Chanty4u
Esteemed Contributor III

Re: RE:Default selection

no...altstate is wil nt wrk i thnk

MVP & Luminary
MVP & Luminary

Re: RE:Default selection

It's not quite clear what do you want to do. If you speaks about normal field-selections - they will be independent from the container, maybe the use of one or two selection-triggers or the use of dimension-groups might be useful.

If you want to create any depencies between the container and their active objects you would need macros which usage isn't recommended: Macros are Bad. In such cases is it better not to use container else buttons and/or listboxes to control the visibilities of those objects and other things like selections. But quite often you get the best usability if you could avoid any of such on top logic which often only confused the user without real added value.

- Marcus

Chanty4u
Esteemed Contributor III

Re: RE:Default selection

how could i apply alt states on container?

Re: RE:Default selection

See the attached screenshot:

Capture.PNG

This option will show up once you have created alternate state in your application.

Chanty4u
Esteemed Contributor III

Re: RE:Default selection

thnx sunny... i hve created alt states state A and state B

now i selected stateA  for agebands

state B  for  trend...

where shud i give expression stating that to disply for perticulars?

Re: RE:Default selection

If your chart itself is in that particular alternate state, then you won't have to worry about putting anything in the expression. If the chart is still in Inherited state, then you can specify the state like this -> {StateA <>}

Re: RE:Default selection

add container1 & respective filters in State1

add Container2 & respective filters in State2

Chanty4u
Esteemed Contributor III

Re: RE:Default selection

ok but....i need to show default frst chart ...na