Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

I have a text box where in I have to show the average of the product bookings net whose sum(Product bookings net ) is greater then the number that user entered into the input object

I have a text box where in I have to show the average of the product bookings net whose sum(Product bookings net ) is greater then the number that user entered into the input object

I am calculating the count of the account name in a text box by using formula

Sum(if(Aggr(sum([Product Bookings Net]),[Account Name] )>50000,1))

I have to do something like this

Lets say after aggregating with each account name and putting input value as 5000000 data will be like

Account NameProduct Bookings Net
SOUTHERN CALIFORNIA EDISON8034325.35
DIRECTORY OF REALESTATE-PENSION FUND7050000
SOCIAL SECURITY ADMINISTRATION15070000
SCHLUMBERGER LIMITED, INC6000000
HCA INC32968190.56
National Grid8600000
LUXOTTICA GROUP RETAIL18475000
SOUTHERN COMPANY11440000
CBP-Customs and Border Protection: DHS5320000
microsoft17000000
USMC6056656.8
LOWE'S Inc.8070000
GOV. PERNAMBUCO - ATI18000000
COMCOR MOSCOW TELECOMMUNICATION CORPORATION OAO10547563
DISTI STOCK135980701.7
MTN NETWORK SOLUTIONS9429986.82
FORD MOTOR COMPANY8465618.853
MGTS8635795.8
FORT WORTH ISD8486726.08
ZAO REGIONAL INFORMATION NETWORK11847440.61
WALGREEN CO.5809223.7
NORTHROP GRUMMAN SPACE & MISSION SYSTEMS CORP.6129756
BC HYDRO POWER & AUTHORITY11669880.48
HARRAH'S ENTERTAINMENT INC8166168.75
NORTHROP GRUMMAN SYSTEMS CORPORATION9787649
7-ELEVEN INC11328336.18

In the above chart I have used the formula =if(Sum([Product Bookings Net])>=$(vPickup),SUM([Product Bookings Net]))

as u see in the above table all the values are greater then 5000000

so now I have to display the average of these products bookings net into the text box

Please try to do it

Thanks in advance

Shashank



1 Solution

Accepted Solutions
whiteline
Master II
Master II

=Avg(Aggr(If(Sum([Product Bookings Net])>=$(vPickup), Sum([Product Bookings Net]), Null()), [Account Name]))

View solution in original post

1 Reply
whiteline
Master II
Master II

=Avg(Aggr(If(Sum([Product Bookings Net])>=$(vPickup), Sum([Product Bookings Net]), Null()), [Account Name]))