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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
jthomson
Solution Sage
Solution Sage

Non-numeric y-axis?

Hi,

 

I'm looking to create some visuals (either a scatter plot or a line graph probably) to show how competitors in a series of events have done. My data looks a lot like this:

 

PlayerEvent 1Event 2Event 3

Dan

WinLast 16Last 16
BobSemi FinalQuarter FinalWin
AndyLast 32Quarter FinalLast 64
MikeQuarter FinalWinRunner Up
SteveSemi FinalLast 32Did Not Play
GaryDid Not PlayRunner UpLast 16

 

Except it's for 20+ events and ~100 players. What I want to do is create a graph that looks something like this:

 

graphiwant.png

 

where the red line shows Dan's performance, the blue Bob's etc.

 

X-axis isn't a problem, I just unpivot everything apart from the player column and then relate it to an ordering table (i.e. two columns saying event 1, 1; event 2, 2 etc) and sort by column to get things ordered. To get the actual graph also isn't a problem, I just convert values in Power Query (i.e. change win to 6, runner up to 5, semi final to 4 and so on. Where I'm stuck is labelling the y-axis. I can only get it showing values from 0-6 - I know I'm going to have to have numeric data to generate the graph, but can I relate that numeric data to what the numerical values represent somewhere in order to get the y-axis displayed like in the image?

 

I can work around by removing the y-axis and putting in text boxes, but as I'm going to have three or four of these graphs on my final report I'd rather not have to fiddle like that. I also can't use any custom visuals for this. Any ideas? Thanks in advance

 

(edited title)

1 REPLY 1
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @jthomson,

 

Currently, Y-axis only supports numeric values, adding text to Y-axis will be aggregated by default. I'm afraid above expected output cannot be achieved right now.

 

Besides, here is a similar idea: Create line graph with text labels (y-axis) and dates (x-axis)

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors