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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

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.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.