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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
pgomez58
New Member

Add more tick lines to x and y axis

Good morning,

 

Is there a way to add more ticks on the x and y axes for a regular line/column chart in Power BI? Here is an example of a chart: is it possible to customize to add every 1 or 2 year intervals in the x-axis?

 

pgomez58_0-1754681492558.png

 

6 REPLIES 6
v-agajavelly
Community Support
Community Support

Hi @pgomez58 ,

I hope the response provided helped in resolving the issue. If you still have any questions, please let us know we are happy to address.

Regards,
Akhil.

v-agajavelly
Community Support
Community Support

Hi @pgomez58 ,

Circling back were you able to get the X-axis looking the way you wanted after switching to Continuous and adjusting the Min/Max? If it’s still not lining up as expected, let me know and we can try the custom date column option or explore a visual that gives more granular control.

Regards,
Akhil.

Shahid12523
Community Champion
Community Champion

- X-axis (years): Set axis type to Categorical to show every year or use a custom year table.
- Y-axis: Manually set Minimum, Maximum, and Interval in the Format pane.
- Dual axis: Format each y-axis separately.

Shahed Shaikh
v-agajavelly
Community Support
Community Support

Hi @pgomez58 ,

Just wanted to check did switching the X-axis to Continuous and tweaking the Min/Max get you closer to the tick spacing you had in mind? If not, we can try the custom date column route or even look at a lightweight custom visual to give you exact control.

Regards,
Akhil.

v-agajavelly
Community Support
Community Support

Hi @pgomez58 ,


In Power BI’s default line or column charts there isn’t an option to manually set “tick every 1 or 2 years” like in Excel, but you can get close with this practical tweak.

  1. Go to Format pane → X-axis.
  2. Change Type to Continuous (instead of Categorical).
  3. Scroll down in the X-axis settings and set Minimum and Maximum dates so the chart covers exactly the range you want.
  4. Power BI will then auto-space the ticks more evenly. If you still want fewer or more ticks, create a custom column in your date table that only labels the years you want to show, and use that as the axis instead.
  5. For the Y-axis, turn on Minor gridlines (Format pane → Y-axis → Gridlines → Minor gridlines = On) to add extra ticks between the main ones.

That’s as close as you can get without moving to a custom visual like Charticulator or Deneb, which allow you to hard-code tick spacing.

Regards,
Akhil.

Greg_Deckler
Community Champion
Community Champion

@pgomez58 You can add x constant lines if the x-axis is numeric or a date. 



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.