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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.