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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.