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

Displaying filters from different alternate states in current selections

Good day!

I have current selection block with default alt state and two pivots with v1 state and v2 state.

When i select some filters in one of these pivots, current selection doesn't display them.

Is there any way to solve this problem ?

Thanks.

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Rather create your own current selection box (using textbox or so). PFA (i have shown for Year field only). check this too: Current Selection Alternatives

Note, my solution works for SR 8+

Edit: SR8 inclusive.

View solution in original post

7 Replies
vikasmahajan

PFA demo

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
Anonymous
Not applicable
Author

Hi.

Sorry, don't understand what have you changed..

Where is curr selection?

tresesco
MVP
MVP

Rather create your own current selection box (using textbox or so). PFA (i have shown for Year field only). check this too: Current Selection Alternatives

Note, my solution works for SR 8+

Edit: SR8 inclusive.

Anonymous
Not applicable
Author

Thank you for your advice!

But in your test model i see an error.

Can you see it please?

tresesco
MVP
MVP

What is your qv version? I guess it's prior QV 11.2 SR8. As I mentioned, getfieldselections() would not take state as parameter there. That is what causing the issue, I guess.

Anonymous
Not applicable
Author

Sorry, it works on SR8.

Dear, now i see your model with manual current selection.

There is exrp:

= if (index(vCurrentSelections,only({1}$Field) & ':')>0,

only({1}$Field) )

Can this expr be mdoifying to react for different alternate states?

Thanks.