Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

how to using getcurrentselections and put in conditional?

Hi All.

I have data it looks like this

  1.png

And already integrated with filter pane where the condition is =if(Status='Pending', Brand) … only show Brand where status is pending.

2.png

When I select Brand A. I want the table will show Pending and Approve with brand is selected. Currently it only show pending.

3.png

Already tried with

Count({1<Status=, Brand=getcurrentselections(Brand) >} Status)  and not yet get luck

how to use getcurrentselections in conditional?

thanks

1 Solution

Accepted Solutions
sunny_talwar

Can you try this expression for your filter object

Aggr(Only({<Status = {'Pending'}>} Brand), Brand)

View solution in original post

4 Replies
sunny_talwar

Can you try this expression for your filter object

Aggr(Only({<Status = {'Pending'}>} Brand), Brand)

Not applicable
Author

Thanks Sunny for reply

already try and test the expression, seems ok and ...

have a problem or bug for qliksense ...

when i choose Brand C, it work as expected

A1.png

then i choose brand C again for unselect

A2.png

and give undesired result for filter pane it's still green color even though it's not unselected

A3.png

i've already tested the filter pane for any kind of input(selected)... and having bug and giving undesired result for it's filter pane it's self

already attach the qvf files

how to fix this?

sunny_talwar

I guess you just need to click on the green tick mark to finalize your selections.

Not applicable
Author

feels like awkward for me ...

for the filter pane object view ...

thanks Sunny for your time