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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Line Chart - Change the Date Label for something like mmm/YYYY

Hello, I was making a line chart and then I figured out that I couldn't find an easy way of formating date in the x-axis for month/year instead of just year as is shown in the graph below. Does anyone know how i can change this?

Vander77_0-1669676550035.png

Any help will be appreciated.

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

You need to use a date value on your x axis. You can create an EndOfMonth column in your Date table with EOMONTH('Date'[Date], 0) and use that on X. The visual with auto format the x values based on the scale shown. See below with zoom sliders in two positions.

 

ppm1_0-1669682581487.png

 

 

ppm1_1-1669682586262.png

Pat

Microsoft Employee

View solution in original post

1 REPLY 1
ppm1
Solution Sage
Solution Sage

You need to use a date value on your x axis. You can create an EndOfMonth column in your Date table with EOMONTH('Date'[Date], 0) and use that on X. The visual with auto format the x values based on the scale shown. See below with zoom sliders in two positions.

 

ppm1_0-1669682581487.png

 

 

ppm1_1-1669682586262.png

Pat

Microsoft Employee

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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 Kudoed Authors