Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Average of a range of data

Hello Everyone,

I'm trying to calculate in a KPI the average of only data that are above 46400 kilograms. (Peso Bruto), i don't need the average of the whole table.

Captura de pantalla 2015-12-22 a las 4.45.17 p.m..png

Regards,

Gerd Neumann.

1 Solution

Accepted Solutions
paul_scotchford
Specialist
Specialist

avg(if(weight>46400,YourFieldToAverage))

or using set analysis

avg( {$<weight={">46400"}>} YourFieldToAverage )

View solution in original post

3 Replies
paul_scotchford
Specialist
Specialist

avg(if(weight>46400,YourFieldToAverage))

or using set analysis

avg( {$<weight={">46400"}>} YourFieldToAverage )

jagan
Luminary Alumni
Luminary Alumni

HI,

Try using set analysis like below

=Avg( {<[Peso Bruto]={">46400"}>} [Peso Bruto])


Hope this helps you.


Regards,

Jagan.

Not applicable
Author

This works for me.

Regards,

Gerd Neumann