Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Anonymous
Not applicable

Perfomance Question

Hi everyone,

 

I want to find the performance of a team with using these columns below.

These are my questions;

1) Count how many times the team attend to the games.

2) Count the medals earned.

3) Divide Attendance to Medals.

 

haimow_0-1652095500352.png

 

Thank you in advance.

 

1 ACCEPTED SOLUTION
ribisht17
Super User
Super User

@Anonymous 

 

Are you looking for each country's Participation in the View itself?

 

Teams Attented Count = COUNTROWS(FILTER(all('Olympic Medals'),'Olympic Medals'[Country]=max('Olympic Medals'[Country])))
 
If you are looking for the overall then the above answer is the one for you
 
Regards,
Ritesh
 
Regards,
Ritesh

View solution in original post

5 REPLIES 5
speedramps
Super User
Super User

One problem per ticket please. ☹️
I answered your question.

If you you need to revise the problem then kindly please accept this solution and raise a new ticket. 
Don't change the problem and expect eagerness to help if you don't accept solutions.

Thanks for your understanding.

speedramps_0-1652098714467.png

 

Anonymous
Not applicable

@speedramps thank you for your quick reply, your answer is correct but my model is wrong 🙂

Actually it is not the way measuring the performance i need to add players here and count players and then filter by country and finally find the performance ratio.

so let me revise the table like below;

Bottomline, i want to see the Country performance.

 

haimow_0-1652098268374.png

 

ribisht17
Super User
Super User

@Anonymous 

 

Are you looking for each country's Participation in the View itself?

 

Teams Attented Count = COUNTROWS(FILTER(all('Olympic Medals'),'Olympic Medals'[Country]=max('Olympic Medals'[Country])))
 
If you are looking for the overall then the above answer is the one for you
 
Regards,
Ritesh
 
Regards,
Ritesh
Anonymous
Not applicable

Thank you very much.

speedramps
Super User
Super User

Attendance =

COUNTDSITINCT(yourtable[year])

 

Medals =

SUM(yourtable[gold])+ 

SUM(yourtable[silver])+ 

SUM(yourtable[bronge])+ 

 

MedalsvAttendance =

DIVIDE( Medals,Attendance )

 

I helped you now please help me with kudos.

Please click thumbs up and accepts as solution buttons.

One problem per ticket please.

If you you need to revise the problem then please accept this solution and raise a new ticket. 

Thanks 😀

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.