Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
suryaa30
Creator II
Creator II

Multi Language List box with Alternate states

Hi All,

I need to implement a multi language Listbox which I have done from some references in the community.

Now I have to implement Alternate states along with it.

Here whatever has been done for Object A needs to be replicated in Object B which is in Alt state.

Some change has to be done in the expression of Object B.

Doubt4481.PNG

1 Solution

Accepted Solutions
sunny_talwar

May be this?

=Aggr(Only({1<Lang=P({Alt}Language)>} Name_KPIs ), Name_KPIs)

View solution in original post

4 Replies
sunny_talwar

May be use OnAnySelect trigger to transfer the content from one state to another

Capture.PNG

suryaa30
Creator II
Creator II
Author

I think I did not make it clear. Only the functionality to be replicated and not the selection between alternate states.

If you open the expression in object A you will see it will have a restriction in place to restrict field values based on language.

=Aggr(Only({1<Lang=P(Language)>} Name_KPIs ), Name_KPIs)

same way I want restriction of field values based on language.  The restriction is based on selecting the appropriate Flag. US or mexican Flag  Images on top

sunny_talwar

May be this?

=Aggr(Only({1<Lang=P({Alt}Language)>} Name_KPIs ), Name_KPIs)

suryaa30
Creator II
Creator II
Author

Correct But I just found  that the same expression

=Aggr(Only({1<Lang=P(Language)>} Name_KPIs ), Name_KPIs)

works for Both Object A & B.  Thanks Much