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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
JothiG
Helper II
Helper II

Adding X-axis line

JothiG_0-1756541888133.png

i want to add X-axis line. is it possible.

2 ACCEPTED SOLUTIONS
DataNinja777
Super User
Super User

Hi @JothiG ,

 

Yes, you can easily add the X-axis line to your chart in Power BI. It's likely that the line has been turned off or set to a transparent color in your visual's formatting settings.

To add it back, you'll first need to click on the chart in your Power BI report to select it. Once selected, navigate to the Visualizations pane, which is typically on the right side of the screen, and click the paintbrush icon 🖌️ to open the Format your visual tab. In this formatting menu, scroll down until you find the X-axis section and click to expand it. Inside these options, look for a sub-section named Line. Here, you can customize the line by setting its Color (black or dark gray is standard), adjusting the Stroke width to control its thickness, and changing the Line style to Solid. Applying these changes will make your X-axis line reappear on the visual.


Best regards,

View solution in original post

Ritaf1983
Super User
Super User

Hi @JothiG 

There is no formatting option called "X-axis line" in Power BI.
However, you can achieve the same effect by adding a reference line.
If your axis starts at 0, just set the reference line value to 0.
If not, you need to define the logic that determines the baseline value.

Ritaf1983_0-1756570057718.png

The pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
v-hjannapu
Community Support
Community Support

Hi @JothiG,

I would also take a moment to thank @DataNinja777 @Ritaf1983  for actively participating in the community forum and for the solutions you’ve been sharing in the community forum. Your contributions make a real difference.

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.

Regards,
Community support Team.

Hi @JothiG,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We are always here to support you.


Regards,
Harshitha.

Hi @JothiG  ,

I wanted to follow up and see if you have had a chance to review the information that was shared. If you have any additional questions or need further clarification, please don’t hesitate to reach out. I am here to assist with any concerns you might have.

Regards,
Harshitha.

Ritaf1983
Super User
Super User

Hi @JothiG 

There is no formatting option called "X-axis line" in Power BI.
However, you can achieve the same effect by adding a reference line.
If your axis starts at 0, just set the reference line value to 0.
If not, you need to define the logic that determines the baseline value.

Ritaf1983_0-1756570057718.png

The pbix is attached

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
DataNinja777
Super User
Super User

Hi @JothiG ,

 

Yes, you can easily add the X-axis line to your chart in Power BI. It's likely that the line has been turned off or set to a transparent color in your visual's formatting settings.

To add it back, you'll first need to click on the chart in your Power BI report to select it. Once selected, navigate to the Visualizations pane, which is typically on the right side of the screen, and click the paintbrush icon 🖌️ to open the Format your visual tab. In this formatting menu, scroll down until you find the X-axis section and click to expand it. Inside these options, look for a sub-section named Line. Here, you can customize the line by setting its Color (black or dark gray is standard), adjusting the Stroke width to control its thickness, and changing the Line style to Solid. Applying these changes will make your X-axis line reappear on the visual.


Best regards,

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors