Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
so I can't seem to get this to work
I'm trying to show all my agents sales, then show the avg sales per Supervior (region) and Team in individual columns.
Avg Sales by Supervisor = CALCULATE(
AVERAGE(Data[sales])
, ALLEXCEPT(Data,Data[Supervisor])
)
works if the Supervior is visable on the matrix, but it I don't want to display supervior how can I get this to work?
when I remove the supervisor from the visual then it seems to revert to an avg of the total which I don't want.
for Agent Bill for example I would ideally see
Agent - Sales - Avg by Supervior - Avg by Team
Bill - 70 - 93 - 246
Solved! Go to Solution.
@Anonymous , Try like
averageX(values(Data[Supervisor]), calculate(AVERAGE(Data[sales]), ALLEXCEPT(Data,Data[Supervisor])))
or
averageX(summarize(Data, Data[Supervisor], "_1", AVERAGE(Data[sales])), [_1])
Hi,
You may download my PBI file from here.
Hope this helps.
You are welcome. If my reply helped, please mark it as Answer.
Hi,
You may download my PBI file from here.
Hope this helps.
looks like this method also works! thanks
You are welcome. If my reply helped, please mark it as Answer.
@Anonymous , Try like
averageX(values(Data[Supervisor]), calculate(AVERAGE(Data[sales]), ALLEXCEPT(Data,Data[Supervisor])))
or
averageX(summarize(Data, Data[Supervisor], "_1", AVERAGE(Data[sales])), [_1])
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 93 | |
| 81 | |
| 73 | |
| 46 | |
| 35 |