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

Become a Certified Power BI Data Analyst! Prepare for Exam PL-300 with expert-led live sessions. Get registered!

Reply
RichOB
Post Patron
Post Patron

Running Month formatting

Hi, I have this graph that is dictated by a date slicer. How do I get the next month after March 24 to be April 25 instead of reverting back to the beginning of the graph?

RunningMonth.jpg

1 ACCEPTED SOLUTION
johnt75
Super User
Super User

The problem is that your month column doesn't include any year information. Create a new column of type date, set to the start of the month, e.g.

Year Month = EOMONTH( 'Date'[Date], -1 ) + 1

Set the format to be just the month name and then use that column in the axis for the chart.

View solution in original post

3 REPLIES 3
johnt75
Super User
Super User

The problem is that your month column doesn't include any year information. Create a new column of type date, set to the start of the month, e.g.

Year Month = EOMONTH( 'Date'[Date], -1 ) + 1

Set the format to be just the month name and then use that column in the axis for the chart.

RichOB
Post Patron
Post Patron

Hi @KonradZawel, sorry, what I mean is, I want the months to show consecutively when it changes from 2024 to 2025. I need the orange bar on the right for April instead of April 2025 going back to the left of the graph where the X is. Thanks

KonradZawel
Helper I
Helper I

Hi!

To show just the month from your date in Power BI, create a new column using the FORMAT function like this: FORMAT(YourDateColumn, "MMMM") โ€” it will give you the full month name like January. If you want the short version, use "MMM" instead.

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

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

May 2025 Monthly Update

Fabric Community Update - May 2025

Find out what's new and trending in the Fabric community.