Skip to main content
Announcements
See why Qlik is a Leader in the 2024 Gartner® Magic Quadrant™ for Analytics & BI Platforms. Download Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jessica_webb
Creator III
Creator III

Issues with Histogram

I have created a histogram using the following dimension:

=AGGR(CLASS(AVG({1<GEN={'ALL'}>} AP_Weighted),BinWidth),ID,SET,SUBSET)

and expression:

COUNT(DISTINCT ID)

'BinWidth' is a variable defined by a user input box.

I then have an exact copy of the histogram (same dimension/expression) displaying as a straight table.

When I select a column in the table, e.g. -66<=x>-65, a list box of 'ID' shows me then 1 ID that has that 'AP_Weighted' value.

Capture.PNG

This all works as I want/expect.

However, I have another field call 'Rel_Success', which I have copied into the exact same expression, so:

=AGGR(CLASS(AVG({1<GEN={'ALL'}>} Rel_Success),BinWidth),ID,SET,SUBSET)


and whilst the chart and table display correctly, selecting a column in the table doesn't work! Instead, it selects lots of the 'SET' and 'SUBSET' values in other list boxes.


Why are the two fields working so differently, and how can I fix this?? They are loaded in the script in the exact same way, so I just can't see a reason for the difference in behaviour...

0 Replies