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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Franco
Frequent Visitor

Line chart X-Axis constant line

Hello everybody,
I would like to ask if it is possible to insert a fixed vertical line in a line chart when in the X axis i put Year-Month instead of Date.

 

image.png

 

With Date:

image.png

With Year-Month:

image.png

 

thanks for your attention,

Franco

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Franco , That option only comes with Date and Number Data Type

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Franco , That option only comes with Date and Number Data Type

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello. 

 

I have a similar issue. I would like to show the month and year and to have a vertical line on my line chart. Is there any workaround? At the moment, I only see the year. I can see the month only if I hover over the line chart.
Screenshot_3.png 

I hoped until the last that it wasn't like that 😅

Thanks a lot for the answer!

 

Franco

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.