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

Help Creating Visualizations

Hello,

 

I have an assignment to create some visualizations using data from https://www.kaggle.com/heesoo37/120-years-of-olympic-history-athletes-and-results/discussion/120222.

 

I am new to excel and power BI and was wondering if someone could teach me how to do this. I've tried playing around with it but they aren't turning out quite how I would expect. I would like to create a map of the top 10 medals by country and also a table to list the top 10 male athletes by height.

 

Any help appreciated.

1 ACCEPTED SOLUTION
Greg_Deckler
Super User
Super User

@Wunderful - View the attached PBIX file and let me know if that's what I was looking for to accomplish. If so, we can explain what I did or you may be able to find out by looking at the settings around. PBIX is below sig.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

4 REPLIES 4
v-xicai
Community Support
Community Support

Hi @Anonymous ,

 

You may create measures like DAX below, then go to Filter pane, set the relative Ranking field as Top 10.

 

Ranking Gold medals =

RANKX (

    CALCULATETABLE ( VALUES ( Table1[Country] ), ALLSELECTED ( Table1[Country] ) ),

    [Gold medal Amount]

)



Ranking Height =

RANKX (

    CALCULATETABLE ( VALUES ( Table1[Athlete name] ), ALLSELECTED ( Table1[[Athlete name] ) ),

    [Height]

)

 

Best Regards,

Amy 

 

Community Support Team _ Amy

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Greg_Deckler
Super User
Super User

@Wunderful - View the attached PBIX file and let me know if that's what I was looking for to accomplish. If so, we can explain what I did or you may be able to find out by looking at the settings around. PBIX is below sig.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

Hello,

 

It looks like what I am going for. I'll take a look at the settings and see if I can figure it out. Otherwise I'll come back and ask how you did it.

 

Thanks,

AB

amitchandak
Super User
Super User

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.