Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
I have a table with a similar setup as follows:
Name | Team | Skill Area | Rating |
john | DE | SQL | 3 |
john | DE | ETL | 2 |
lauren | DE | ETL | 3 |
sarah | DBA | SQL | 2 |
sarah | DBA | SSRS | 2 |
sarah | DBA | PowerBI | 2 |
ben | BI | SQL | 3 |
ben | BI | SSRS | 2 |
george | BI | SQL | 3 |
george | BI | SSRS | 3 |
I am trying to write a DAX measure to calculate which team has the highest average and also how to calculate that average -- thanks in advance!
Solved! Go to Solution.
Hi @sjade
I assume that the result will be displayed in a card visual and the skill can be selected using a slicer. Then you may try
Best Performing Teams =
CONCATENATEX (
TOPN (
1,
ADDCOLUMNS (
SUMMARIZE ( Table, Table[Team] ),
"@Average", CALCULATE ( AVERAGE ( Table[AreaRating] ) )
),
[@Average], DESC
),
Table[Team],
UNICHAR ( 10 )
)
Best Score =
MAXX (
TOPN (
1,
ADDCOLUMNS (
SUMMARIZE ( Table, Table[Team] ),
"@Average", CALCULATE ( AVERAGE ( Table[AreaRating] ) )
),
[@Average], DESC
),
Table[Team]
)
Hi @sjade
I assume that the result will be displayed in a card visual and the skill can be selected using a slicer. Then you may try
Best Performing Teams =
CONCATENATEX (
TOPN (
1,
ADDCOLUMNS (
SUMMARIZE ( Table, Table[Team] ),
"@Average", CALCULATE ( AVERAGE ( Table[AreaRating] ) )
),
[@Average], DESC
),
Table[Team],
UNICHAR ( 10 )
)
Best Score =
MAXX (
TOPN (
1,
ADDCOLUMNS (
SUMMARIZE ( Table, Table[Team] ),
"@Average", CALCULATE ( AVERAGE ( Table[AreaRating] ) )
),
[@Average], DESC
),
Table[Team]
)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
14 | |
10 | |
10 | |
10 | |
9 |
User | Count |
---|---|
20 | |
13 | |
12 | |
11 | |
8 |