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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
p1ngu1n
Frequent Visitor

Line graph or comparable with string values

Hi all,

I have a column where the data is stored as string, lets assume "LOW", "MIDDLE" and "HIGH".

What I want to do is to visualize this in a kind of state diagram, I thought of a line chart with stepped lines.

 

1.) Is there any possiblity to visualize this data without transforming it to integer, such as 1, 2 and 3 for the three values?

2.) If it is required to transform the data, how can I use "LOW", "MIDDLE" and "HIGH" on the y axis to make clear what the values stand for?

 

BR and thanks!

1 ACCEPTED SOLUTION
p1ngu1n
Frequent Visitor

@dax Thank you for you idea.

The way I worked around now is to create a column with integer values and use the column with text values as legend. Might be too complicated but works for me 🙂

View solution in original post

2 REPLIES 2
dax
Community Support
Community Support

Hi @p1ngu1n , 

I think you need to use number instead of text type in y axis. In addition, if you want to show high, middle, low , you could try to use analytics->trend line in chart to show it. You could refer to my sample for details.

Best Regards,
Zoe Zhi

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

 

p1ngu1n
Frequent Visitor

@dax Thank you for you idea.

The way I worked around now is to create a column with integer values and use the column with text values as legend. Might be too complicated but works for me 🙂

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.