Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How works Conditional in chart properties

Hi guys,

How works Conditional in chart properties?

Could you show any example?

Thanks in advanced,

7 Replies
Jason_Michaelides
Partner - Master II
Partner - Master II

I'm sure it's explained in the reference manual isn't it!? 🙂

Essentially in v11 you can now enter a Boolean expression here. If it is true them the expression will be calculated and displayed in the chart. If it's false, it won't be. You might use this to allow users to decide which expressions they want to show in the chart.

Hope this helps,

Jason

Anonymous
Not applicable
Author

Hi Jason,

I have an expression.

But I want to calculate it only for variable A with tag a.

I used in conditional : If(A='a',1)

But it didn't work.

Could you show how it should be?

Regards,

Jason_Michaelides
Partner - Master II
Partner - Master II

Try just putting in

A='a'

Jason

Anonymous
Not applicable
Author

I put  A='a', my expression isn't shown.

I have 4 expressions Count(B),

but different only for A (a,b, c,d).

When I put in conditional A='a', it shows only for A=b, A=c, A=d.

I don't understand how this condition works.

Anonymous
Not applicable
Author

If I use a conditional expression in a chart, my expression should work only when I select it in list box?

Does somobody know how to use set analysis or If condtional for all expression?

For example:

My main expression:

Count(B)*count(C)-count(D)*count(F)

It should be calculated only for A=aaa.

The result shold be the same as I use:

Count({<A={'aaa'}>}B)*count({<A={'aaa'}>}C)-count({<A={'aaa'}>}D)*count({<A={'aaa'}>}F)

Thanks,

Jason_Michaelides
Partner - Master II
Partner - Master II

Can you post a sample of your app?

Anonymous
Not applicable
Author

Hi Jason,

Please find attached file.

Thanks,