cancel
Showing results for 
Search instead for 
Did you mean: 
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
Vote for T-Shirt Design

Power BI T-Shirt Design Challenge 2023

Vote for your favorite t-shirt design now through March 28.

March 2023 Update3

Power BI March 2023 Update

Find out more about the March 2023 update.

March Events 2023A

March 2023 Events

Find out more about the online and in person events happening in March!