Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Presentation

Good

First of all, I'd like to introduce myself. I'm starting with Power BI with some tutorials and trying things out.

I imagine there will be people like me starting and stumbling every 5 seconds with some little problem.

I also wanted to take the time to tell you about my problem (if it doesn't go here you tell me and delete, which I don't just understand how the forum works).

The thing is, I have a dataset with football match data. In this data, there is a "TEAM" column where each action is referred to with the team it is next to. What I would like is to be able to relate in some way whether it is a Local or Visitor team. I thought about putting a conditional column with a formula that says "If PSG - Local". The problem is that when that team plays outside, it won't detect it as a visitor.

I have made a table with the columns: "JORNADA", "LOCAL", "VISITANTE" to relate them to the column "TEAM", but by linking two columns of one table with the same of another, what I get is that it remains as a hierarchical and when you choose the visiting team, it automatically filters you out of that match, but the local team.

Can you think of any way I can do it?

Thank you so much for the help.

Greetings.

  • Anonymous's avatar
    Anonymous
    6 years ago

    Thank you so much for your help.

    I've already fixed the problem by taking the file title information.

3 Replies

  • Hi Anonymous ,

     

    How is your data setup?

     

    Depending on the format you have you may need to unpivot columns or make a relationship between tables to have the information you need to display in the correct place.

     

    Can you share a sample data and expected result.

  • v-xicai's avatar
    v-xicai
    Community Support

    Hi Anonymous ,

     

    I am not sure what desired result would you want, could you please share your sample data and desired output screenshots for further analysis? You can also upload sample pbix to OneDrive and post the link here. Do mask sensitive data before uploading.

     

    Please read this post to get your answer quickly: How to Get Your Question Answered Quickly.

     

    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.

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thank you so much for your help.

      I've already fixed the problem by taking the file title information.