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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Anonymous
Not applicable

Adjust date format X axis for month year

Dear All,

 

I have two Power BI reports. In the first report I do have a line chart, with on the X-axis the month/year format month year (for instance:  'jan 2023'. When I copy this chart into the second Power BI report, the format on the X-axis is changing to year month (e.g. in this case: '2023  January'). How could I maintain the original format (in this example 'jan 2023')?

 

Thanks in advance for any suggestion.

 

Kind regards

1 ACCEPTED SOLUTION
rajulshah
Super User
Super User

@Anonymous 

 

In the second report, you need to change the format of 'Monthyear' column as in the first report.

You can use the following DAX:

MonthYear = FORMAT ( Dates[Date] , " mmm YYYY")

 

Please let me know if this didn't work.

View solution in original post

1 REPLY 1
rajulshah
Super User
Super User

@Anonymous 

 

In the second report, you need to change the format of 'Monthyear' column as in the first report.

You can use the following DAX:

MonthYear = FORMAT ( Dates[Date] , " mmm YYYY")

 

Please let me know if this didn't work.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.