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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi all,
I' am doing a sport analysis in which i need to calculate an average of best efforts in specific sports drills.
So, I'm looking towards caluating a average of minimum time spend on a drill after player_name.
=
| Player_name | Total_time | Minimum_time | Avg ((10+30)/2) |
| X x | 10 | 10 | 20 |
| X x | 20 | 10 | 20 |
| X x | 30 | 10 | 20 |
Y y | 30 | 30 | 20 |
| Y y | 40 | 30 | 20 |
| Y y | 50 | 30 | 20 |
Cheers,
/M
Solved! Go to Solution.
Please try this expression in your measure in a table visual with Player_Name (and any other columns).
Avg Time =
AVERAGEX (
ALL ( Times[Player_name] ),
CALCULATE (
MIN ( Times[Total_time] ),
ALLEXCEPT (
Times,
Times[Player_name]
)
)
)
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Please try this expression in your measure in a table visual with Player_Name (and any other columns).
Avg Time =
AVERAGEX (
ALL ( Times[Player_name] ),
CALCULATE (
MIN ( Times[Total_time] ),
ALLEXCEPT (
Times,
Times[Player_name]
)
)
)
Regards,
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Hi,
Thanks for the effort! 🙂
That doesn't return a single AVG. The AVG varies row for row. It should be the same for the whole table as the AVG should be calculated for the whole table meaning AVG of minimum-time after player = Óne value for all rows, as they are subject to the same table avg.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 7 | |
| 7 | |
| 6 |