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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
ironboy0418
Helper II
Helper II

How to show year and then month as x-axis in line chart?

I am trying to replicate this x-axis view. However, it shows like this everytime I drag year and month in x-axis in my line graph:

 

ironboy0418_0-1683783289244.png

 

Desired output:

ironboy0418_1-1683783319664.png

Any tips to do this quickly or easier? Thanks in advance

 

 

5 REPLIES 5
ironboy0418
Helper II
Helper II

Hi @lbendlin it needs to be on percentages. on the other hand, how can I switch it to continous?

Thank you

ironboy0418_0-1684296030349.png

 

lbendlin_0-1684356670520.png

 

 

No options in me like this, maybe its already continous data?

what is the data type of the field in the x axis?

lbendlin
Super User
Super User

- don't show values as percentages

- switch your x axis from categorical to continuous.

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.