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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
viveksasi94
Helper I
Helper I

How to split X-axis data labels into two lines

Hi All Datanuts,

 

I got an issue with the axis labels. I'm using a Stacked column chart and I want to split the X-axis labels into two different lines. Also,  "Concatenate label" is not working for me. Please suggest after referring to the snapshots.

Current View

Capture.PNG

Required View

Capture1.PNG

Thanks in advance 🙂

1 ACCEPTED SOLUTION

Hi @viveksasi94,

 

You need to setting 'sort by' x axis fields before turn off this option, then label will been expanded to multiple rows.

Operation steps:

58.gif

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

5 REPLIES 5

You may have to do the x-axis sort again, even after you turn off the "Concatenate Labels".

 

I've seen cases where the sort option looks right (highlighed with the yellow indicator), but even though it's already highlighted, go ahead and click once more.

Anonymous
Not applicable

I have the same issue - nothing I do will stop the heirarchy from concatenating in my stacked col and line combo chart- it looks awful. I've tried sorting , resorting turning concat on and off about 50 times but it still shows both my x axis values in one string - YUK.

 

This has to be a bug. Can anyone help?

v-shex-msft
Community Support
Community Support

Hi @viveksasi94,

 

You can try turn off 'concatenate label' to cancel multiple axis label concatenate, but current it seems only works for date hierarchy field.(when you turn off this option and use date hierarchy structure in it, it can be split as multiple lines)

8.PNG


Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Thank you Xiaoxin Sheng for your response. But in this case turning off Concatenate Label does not solve my issue. 🙂

Hi @viveksasi94,

 

You need to setting 'sort by' x axis fields before turn off this option, then label will been expanded to multiple rows.

Operation steps:

58.gif

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Kudoed Authors