Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set Analysis Locked the selection

Hi, I have a question.

I have a chart with expression like this :

sum({<REGION={'A'}>}QTY)


i have a list box that contains region's value, let's say i have two values, REGION "A" and REGION "B"

When i choose REGION "B", the chart still shown, bcs i'm using the set analysis {<REGION={'A'}>}

Is it possible, if i choose Region B, the chart will shown "No Data Display" ?

Really sorry if my statement is not clear.

Thanks in advance

1 Solution

Accepted Solutions
swuehl
MVP
MVP

Try the intersection operator:

sum({<REGION *= {'A'}>}QTY)

View solution in original post

4 Replies
swuehl
MVP
MVP

Try the intersection operator:

sum({<REGION *= {'A'}>}QTY)

Anonymous
Not applicable
Author

Hi Stefan,

Really thanks, you're my savior !

It solved my problem perfectly.

Thanks in advance.

Not applicable
Author

hi Stefan ,

The expression which you given is nothing but to show only REGION A Sales Wright, If  not it need to show no data is available.

I think for this we can also try with a if condition.

Not applicable
Author

Hi,

Try this in your chart under General tab in Calculated condition give if(getfieldelections(REGION)='B',0,1)

And if you want to display 'No Data Display' in the chart give the Error messages(Button shown below the chart icons) as No Data Display corresponding to Calculating condition unfulfilled .

Hope this is helpful.

Regards,

Balakrishnan.R