Forum Discussion
DarrenRhodes
2 years agoNew Member
Help for a novice please
probably a basic question, but can somebody help with the following please?
trying to compare stats for two footballers,
my data looks like this:
| player | goals | Assists |
| player 1 | 15 | 7 |
| player 2 | 7 | 16 |
when i visualise in a bar chart it shows like this
But I want it to visualise as goalscompared to goals, assists compared to assists. instead of stats per player
how do i do this please?
hope ive explained well enough
DarrenRhodes Try unpivoting your two value columns and then you can use the Attribute column as your x-axis and the player as the legend.
2 Replies
- DarrenRhodesNew Member
Greg_Deckler you truly are a super user! thankyou so much
- Greg_DecklerCommunity Champion
DarrenRhodes Try unpivoting your two value columns and then you can use the Attribute column as your x-axis and the player as the legend.