Forum Discussion

RoxanaZaharia's avatar
2 years ago
Solved

how can i solve this?

Hello! I am working with this data set for my first project: https://www.kaggle.com/datasets/krishd123/olympics-legacy-1896-2020 , and I am trying to show the events that had people winning the same ...
  • MNedix's avatar
    MNedix
    2 years ago

    If you really want to do that you'll have to create a calculated column or measure in which you have to manually configure what is single vs. team; this means going through over 1000 events. Keep in mind that you have teams ranging from 2 (like tennis or other doubles) to 24 people per team (like baseball). You could actually be safe(er) if you go the other way around: instead of going through every event and understand if that event is single person or multi-person you could consider all 1's as single medals and >2 as teams (see screenshot).

    Then you can use the new column/measurein subsequent calculations for the purpose you need. (the screenshot is a snippet of Gold medals in 2000)