cancel
Showing results for 
Search instead for 
Did you mean: 
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
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors