Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Sum max values from a table and display in digital gauage

I have a table that displays only the max values from a data set and I would like to display the total of those max values in a digital gauage. However the digital display will sum all data points for the first line item in the table, or it will display only the max value and not sum the other values in the vertical column.

Any ideas as I am new to this?

Obviously this would adjust once items are selected or deslected.

Small subset of data:

group_nameOnly (group_power)Only (group_temp)
B01189690.05
B02503190.95
B03333790.05
B04337293.65
B05396885.55
B06257990.5
B07412190.95
B08184894.1
B09484897.7
B10518298.15
B116106102.2
B12550997.25
B134966102.2
B14565292.75
58415




5 Replies
Not applicable
Author

If you wan the aggrgation in the gauge, include the corresponding function in the expression.

An example: sum(aggr(max(Group_Power),Group_Name))

--Arun

Not applicable
Author

Thank you for the reply. However when I use the example above it does not display a value other than 0 (zero).

Any other ideas?

Not applicable
Author

let me take back the previous comment. It does display a value but it does not calculate the total values of the selected, it only display the first selected value.

Not applicable
Author

Zero even if you select a/multiple groups? I have a similar example which is working fine:

sum(aggr(max(Group),Cost)) where bothe Group and Cost are dimensions/fields.

--Arun

Not applicable
Author

Thank you... I got it now.

I did not have both defined as dimensions.

Your help is greatly appreciated. Smile