Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All,
I want to calculate the average of top 10% rounded up, of speeds by the operator. If crew filter selected the top 10% filtered by crew and if type selected top 10% filtered by crew and type.
Thanks in advance.
Solved! Go to Solution.
@baribir
You use this measure to get the Average of Top 10 Full Speed, Other filters will also work.
Top 10 Speed =
AVERAGEX(
TOPN(10,Sheet1,Sheet1[FullSpeed],DESC),Sheet1[FullSpeed]
)
If you are satisfied with my answer, please mark it as a solution so others can easily find it.
Don't forget to give KUDOS to replies that help answer your questions
Subscribe to ExcelFort: Learn Power BI, Power Query and Excel
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
@baribir
You use this measure to get the Average of Top 10 Full Speed, Other filters will also work.
Top 10 Speed =
AVERAGEX(
TOPN(10,Sheet1,Sheet1[FullSpeed],DESC),Sheet1[FullSpeed]
)
If you are satisfied with my answer, please mark it as a solution so others can easily find it.
Don't forget to give KUDOS to replies that help answer your questions
Subscribe to ExcelFort: Learn Power BI, Power Query and Excel
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Hi @baribir ,
See if this helps
https://www.youtube.com/watch?v=SsZseKOgrWQ
https://www.youtube.com/watch?v=UAnylK9bm1I
Regards,
Harsh Nathani
Appreciate with a Kudos!! (Click the Thumbs Up Button)
Did I answer your question? Mark my post as a solution!
@baribir
Do you need the Top 10 speeds rounded up and averaged by Operator?
Thanks
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Average of Rounded top 10% of the count of best speeds.
@baribir
Please check this measure:
Top 10 Speed =
VAR T10 = COUNTROWS(Sheet1) * 0.1
RETURN
AVERAGEX(
FILTER(
Sheet1,
RANKX(Sheet1,CALCULATE(MAX(Sheet1[FullSpeed])),,DESC)<=T10
),
Sheet1[FullSpeed]
)
If you are satisfied with my answer, please mark it as a solution so others can easily find it.
Don't forget to give KUDOS to replies that help answer your questions
Subscribe to ExcelFort: Learn Power BI, Power Query and Excel
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |