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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Anonymous
Not applicable

How to keep 2 X axis labels on separate lines and filter on Y value

Hi all,

I want to keep the 2 labels on the X axis in the screenshot separate, while sorting on a Y value. When I sort for Y, some of the labels concatenate onto the same line despite having Concatenate Labels turned off (second screenshot).

 

For example "Rapid" and "Tamara Hall" should be on different lines (as in the first screenshot), but the chart sorted by the Completed Apps value. 

 

DXJayhawk_0-1639153600563.png

 

I'd like to have the data sorted like this, but have "James Curl" and "ET" on seperate lines as the above screenshot. 

DXJayhawk_1-1639153627376.png

 

Any advice is appreciated. TIA

3 REPLIES 3
v-yanjiang-msft
Community Support
Community Support

Hi @Anonymous ,

In my understanding, you have two columns in the Axis of the stacked column chart, and you desire the name of the two two column display in two seperate line. By my test, it depends on the length and size of the name, the easiest way is to increase the text size of the X axis.

vkalyjmsft_1-1639564632401.png

 

vkalyjmsft_3-1639564657752.png

Best Regards,
Community Support Team _ kalyj

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

amitchandak
Super User
Super User

@Anonymous , Assuming You have two columns in axis, Use concatenate label - off and then sort again on Axis

Anonymous
Not applicable

Thank you for the response. Your suggestion is what I did in screenshot 1 that shows the labels correctly on 2 lines. However, when I then sort on a Y value (such as screenshot 2) it reverts back to concatenating the labels. 

 

I need the labels to be stacked like screenshot 1, but the columns to be sorted on descending values like in screenshot 2. Is that possible?

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.