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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Using a ordinal Y axis with string values

Hi all,

 

I am wondering if the following is possible in Power BI. In the picture below I have a bar chart with a numerical column as the Y-axis. However instead of the current labels (0k,2k,4k etc..) I have a different column with points ( 0k = apple, 2k = pear, 4k = banana etc..) Instead of the numbers my Y-axis shows now I would like to have those labels. The problem however is that there can be records (column of the bars) between those values. So I am struggling to make this work in some sort of way.

 

ExampleExample

Any advice is welcome, I hope I was clear/understandable in my description otherwise I would gladly answer any questions about it:)

 

Best regards,

LMeijdam

2 REPLIES 2
v-lionel-msft
Community Support
Community Support

Hi @Anonymous ,

Do you want the Y-axis labels to appear as text type, like this?

hh5.PNG

If not, please show me a sample data that is used in the bar chat.

 

Best regards,
Lionel Chen

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

 

Anonymous
Not applicable

Hi @v-lionel-msft,

 

Excuses for my delayed response!

 

I am not necesarily looking for a flat text y-axis but what I want to achieve is that instead of the 0.2m; 0.4m in your example there are textual values placed that correspond to the numeric values 0.2m and 0.4m but I want to keep the functionality of a numeric axis (datapoints being able to lie in between the two textual values on the y-axis)

 

Best regards,

L.Meijdam

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.