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
Yagevendra
Helper IV
Helper IV

X axis formatting.

Hi All,
Can we show x axis like this in power bi :-

Yagevendra_0-1647867672759.png

Instead of this

Yagevendra_1-1647867701892.png

I have checked the x axis properties but didn't find relevant option to change the x axis like above image.

3 REPLIES 3
v-kkf-msft
Community Support
Community Support

Hi @Yagevendra ,

 

According to my test, the x-axis of the chart in Power BI can only show up to 4 rows of values. 

 

vkkfmsft_1-1648100459411.png

 

So it is recommended that you use a horizontal bar chart.

 

vkkfmsft_3-1648100945137.png

 


Or show it in the tooltip. And you need to add a custom column in the Power Query.

 

Custom = Text.Combine( Text.ToList([X]), Character.FromNumber(10) )

vkkfmsft_0-1648100397030.png

vkkfmsft_2-1648100824219.png

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Hi @v-kkf-msft , thanks for your reply, my requirement is to create a line chart with this x axis as below image.
Thanks for your suggestion but we can’t create a bar and column chart and can’t show series in a tooltip.




Yagevendra_0-1648101738404.png

And there are no error, I just want to format x axis like this if possible.

amitchandak
Super User
Super User

@Yagevendra . I doubt we have much control on display. Just try concatenate label off. I doubt that will help much

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.

Top Solution Authors