Skip to main content
Announcements
Qlik Community Office Hours - Bring your Ideation questions- May 15th, 11 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

average by subfield excluding selection

GroupTeamPerson

Value

ATAnne2
ATBen2
ATClaire4
AUDave6
AUEd2
AUFrank4
BVGeorge6
BVHarry8

Hi Guys,

Could someone help me with a chart expression? The user has a list box for Person so they can select an individual.

When the user selects a person, i need an expression which averages the total of the whole of their team, excluding that selected person.

Essentialy this chart shows the Average for that indivial (expression 1) and wants to compare them against the average for the rest of their Team (expression 2).

In the example above, if a user selected Anne, expression 1 would show "2", expression 2 would show "3" (Ben's "2" + Claire's "4" / by the both of them.

Hopefully his makes sense, please let me know if you need more information.

Thanks,

2 Replies
Gysbert_Wassenaar

See attached qvw


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

To get your requirement use Set analysis function E()

Use Expression like

Expression1 = Avg(Value)

Expression2 = Aggr(Avg({1}Value),Team)

Regards,

Vivek