Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Help on Scatter/Grid

HI All,

I have two scenarios:

1st Case:

I have a field called ABS.

In the Bubble chart on X axis i should show the Location and Y axis is Category.

Bubble size is Count of the Products. But when user selects a value from the field ABS then the bubble size should be count of the Parts which are having ABS more than or equal to selected ABS value.

2nd case :

When user selects Selected range of values from ABS then the Bubble size should be Count of products which fall under the selected range of ABS.

Can anyone help me on this?

More over should I go for Scatter chart or Grid Chart?

1 Solution

Accepted Solutions
rubenmarin

Hi, if I correctly understand this, you only need to add conditional expressions fro the 3rd expression (bubble size):

Condition: GetSelectedCount(ABS)=0

Expression: Count(Distinct Product)

Condition: GetSelectedCount(ABS)=1

Expression: Count({<ABS={">=$(=ABS)"} Distinct Product)

Condition: GetSelectedCount(ABS)>1

Expression: Count({<ABS={">=$(=Min(ABS))<=$(=Max(ABS))"} Distinct Product)

View solution in original post

5 Replies
mdmukramali
Specialist III
Specialist III

Dear,

Can you attache the sample file. so that it's easy to help you.

Thanks,

Mukram

Not applicable
Author

HI Ali,

I am unable to attach the file.

AM i not clear on the requirement?

Just I need how to handle the situation.

BR,

Neehu

rubenmarin

Hi, if I correctly understand this, you only need to add conditional expressions fro the 3rd expression (bubble size):

Condition: GetSelectedCount(ABS)=0

Expression: Count(Distinct Product)

Condition: GetSelectedCount(ABS)=1

Expression: Count({<ABS={">=$(=ABS)"} Distinct Product)

Condition: GetSelectedCount(ABS)>1

Expression: Count({<ABS={">=$(=Min(ABS))<=$(=Max(ABS))"} Distinct Product)

Not applicable
Author

HI Marin,

I am using the below expression but it is not working. Giving an error. ANy syntax error I am making?

= IF( GetSelectedCount(ABS)=0 , Count(Product),

IF( GetSelectedCount(ABS)=1, Count({<ABS={">=$(=ABS)">} Product),

IF(GetSelectedCount(ABS)>1 , Count({<ABS={">=$(=Min(ABS))<=$(=Max(ABS))">} Product))))

The error I am getting in the chart is

"Error in set modifier ad hoc element list: ',' or ')' expected"

Not applicable
Author

Hi Marin,

Got the issue. Missing "}".  Thank s a lot