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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
jonfisher
Contributor
Contributor

Trouble with normalizing the data in a chart

 I am trying to create a simple bar chart of normalized reject quantities for different reject event names.  I have all of the data in a single table.  Columns are OutputQty, RejectQty, RejectName, and Equipment.  Sum(RejectQty) works fine.  Sum(OutputQty) also works fine.  I have tried multiple version with the aggr function, but I cannot get any version of the  Sum(RejectQty)/sum(OutputQty) to work.  The reject qty values are null, when the output quantity values are not missing, and the output qty is null, when the reject values are not missing.

Labels (2)
1 Reply
marcus_sommer

I'm not sure if there is any aggr() needed. Just try it with:

Sum(RejectQty)/sum(OutputQty)

without an aggr(). If this doesn't returned the expected values then transfer all dimensions and expressions into a table-chart. Usually it's much easier to detect the issues within the data and/or the logic as within any graphically chart.

- Marcus