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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
queryguy48
New Member

Is There a Way to Display X- Axis Dates in Vertical Orientation Rather Than Slanted?

Hello,

 

I created a Power BI report that displays a line graph of data for a date range of the last 24 months.  I show the month name and year at the bottom x-axis.  I had to create a date table to get PBI to keep my months separated.

 

The only annoying thing is the dates on the X-axis display slanted.  This makes it hard for the user to line up the data point on the graph with the month below.  Is there any way to change this to vertical?  I want the data point to line up directly under the month name.  I did some research online and the only suggestions I've found is to drag out the edges of the graph.  I can resize the graph and it makes no difference.  I've tried every option under Format-X-axis and nothing changes it.  Any suggestions?example.jpg

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @queryguy48 ,

 

According to your description, the direction of the x-axis is actually automatically set according to the size of the left and right borders. If the left and right borders are nerdy enough, then the date on the x-axis will automatically be displayed in the vertical direction to fit the size, and if the borders are wide enough, it will be displayed in the horizontal direction.

vhenrykmstf_0-1643868317015.png

vhenrykmstf_1-1643868335345.png

Also, if you are interested you can try a new custom visual object feature that powerbi has come out with that might give you more help.

Using in Power BI | Charticulator

 

If the problem is still not resolved, please point it out. Looking forward to your reply.


Best Regards,
Henry


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

View solution in original post

2 REPLIES 2
v-henryk-mstf
Community Support
Community Support

Hi @queryguy48 ,

 

According to your description, the direction of the x-axis is actually automatically set according to the size of the left and right borders. If the left and right borders are nerdy enough, then the date on the x-axis will automatically be displayed in the vertical direction to fit the size, and if the borders are wide enough, it will be displayed in the horizontal direction.

vhenrykmstf_0-1643868317015.png

vhenrykmstf_1-1643868335345.png

Also, if you are interested you can try a new custom visual object feature that powerbi has come out with that might give you more help.

Using in Power BI | Charticulator

 

If the problem is still not resolved, please point it out. Looking forward to your reply.


Best Regards,
Henry


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

mahoneypat
Microsoft Employee
Microsoft Employee

One option would be to build it with the Charticulator Visual. You would have flexiblity for text angle, tick marks, vertical gridlines, etc.

(15) Austin Power BI User Group - Charticulator 101 - YouTube

 

Pat





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.