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

Multiple Calculation Condition

Hi,

I would like to display charts or tables only if 2 values from the same filters selected.

I Tried several syntaxes without success such as :

=FILTER = 1011 and FILTER= 1002 or =FILTER = '1011' and '1002'

Is someone could advise?

Thanks a lot

1 Solution

Accepted Solutions
Jason_Michaelides
Luminary Alumni
Luminary Alumni

Try this in the show condition:

Concat(DISTINCT FILTER,',') = '1002,1011'

This will mean the chart will only show if both 1002 and 1011 are selected, and no other values.

Hope this helps,

Jason

Message was edited by: Jason Michaelides - Changed calculation condition to show condition

View solution in original post

6 Replies
Jason_Michaelides
Luminary Alumni
Luminary Alumni

Try this in the show condition:

Concat(DISTINCT FILTER,',') = '1002,1011'

This will mean the chart will only show if both 1002 and 1011 are selected, and no other values.

Hope this helps,

Jason

Message was edited by: Jason Michaelides - Changed calculation condition to show condition

Not applicable
Author

Hi Jason and thanks for your quick answer.

I applied your formula and the result is that the table is displayed when i select the two values or any so i'm not yet at the result expected.

In fact the display is hidden only if i select one value or the another.

Jason_Michaelides
Luminary Alumni
Luminary Alumni

Hi,

Please post your app and I'll have a look tonight when I get home.

Jason

Not applicable
Author

Jason,

I rewied my orignal request to check my data and reapply your formula.

It works now

Thanks again

Jason_Michaelides
Luminary Alumni
Luminary Alumni

Jolly good.

Not applicable
Author

how would you then filter on 2 selected fields but from 2 different listboxes??