Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
avastani
Partner - Creator III
Partner - Creator III

Sum of Values in every quadrant on Scatter chart

I have a scatter chart, probed by a dimension and 2 expressions SUM(Metric1), SUM(Metric2)

I have divided the scatter chart into 4 equal quadrants using the midpoint of each metric i.e. (Max - Min)/2

I would now like to report the SUM(Metric2) as Text in Chart for each quadrant.

Any simple way of doing this?

So basically report the SUM(Metric2) for data points that are

1. Upper left Quad: SUM(Metric1) < Midpoint on X-axis and SUM(Metric2) > Midpoint on Y-axis

2. Bottom left Quad: SUM(Metric1) < Midpoint on X-axis and SUM(Metric2) < Midpoint on Y-axis

3. Upper right Quad: SUM(Metric1) > Midpoint on X-axis and SUM(Metric2) > Midpoint on Y-axis

4. Bottom right Quad: SUM(Metric1) > Midpoint on X-axis and SUM(Metric2) < Midpoint on Y-axis

I tried Set Analysis which fails,

SUM({<DimensionOnScatter = {"SUM(AGGR(SUM(Metric1), DimensionOnScatter)) < MidpointX AND  SUM(AGGR(SUM(Metric2), DimensionOnScatter)) < MidpointY"} >} Metric2) etc.

0 Replies