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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.