Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

zied_ahmed1
Contributor III

Condition to display a graph

Hello, I need if we don't select values for the two filters i will have a message in the table (please select Année and Mois 

Cond.png

Thanks for help

1 Solution

Accepted Solutions
felipedl
Valued Contributor III

Re: Condition to display a graph

Would be no difference how many fields you need,

Just use:

if(GetSelectedCount([Field1])>0 and GetSelectedCount([Field2])>0,1,0)

5 Replies
felipedl
Valued Contributor III

Re: Condition to display a graph

Hi Zied,

You have Data Handling (mine is in portuguese, but the place is the same, so im translating the name) as below to put an expression for the calculation condition  and according message.

sample.png

zied_ahmed1
Contributor III

Re: Condition to display a graph

Thanks, I know this but what i add like a condition for the two filters

felipedl
Valued Contributor III

Re: Condition to display a graph

Would be no difference how many fields you need,

Just use:

if(GetSelectedCount([Field1])>0 and GetSelectedCount([Field2])>0,1,0)

zied_ahmed1
Contributor III

Re: Condition to display a graph

Thanks for your time , but it doesn't work for me

felipedl
Valued Contributor III

Re: Condition to display a graph

What would you need specifically than?

Community Browser