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

add vertical line to chart

Hi,

 

I have a simple line chart showing just one year in the x axis and value in y axis like this:

 

test.PNG

I would like to add a viertical line through the points, but don't see an option for X-Axis constant in the analytics pane for the chart.  Am i doing something wrong or can this not be done?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@scabral , if datatype of x-axis is number/date , I am getting it

 

amitchandak_0-1650295566230.png

 

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@scabral , if datatype of x-axis is number/date , I am getting it

 

amitchandak_0-1650295566230.png

 

That must be it because my X-axis is set to text because i had to create a "Latest" label for the current year

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.