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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
brightbright
Regular Visitor

Month of February is only displaying once in line chart and should display 2x

Hi

 

I've created a table in Excel that starts in February 2024 and ends in February 2025. From there, I'm using the table in Excel to visualize a line chart that's sorted by the target column and is sorted ascending.

 

I noticed that February is only displayed one time at the end of the chart and has summed the targets from February 2024 to February 2025.

 

You'll also notice in Power BI under the filtering section, that there's a #2 by February.

 

Regarding the table in Excel the date is displayed as Feb-24 but in the fx box the date is displayed 2024.

 

What do I need to do format the date correctly so February 2024 is at the start of the chart and February 2025 is at the end?

 

Screenshots below:

FilterFilterLine chartLine chartDateDate

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@brightbright So, you will need to create a column that distinguishes February 2024 from February 2025, such as FORMAT([Date], "mmm-yy"). You would then use that in your axis. You will also need a Sort By column such as YEAR([Date]) * 100 + MONTH([Date]).



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

@brightbright So, you will need to create a column that distinguishes February 2024 from February 2025, such as FORMAT([Date], "mmm-yy"). You would then use that in your axis. You will also need a Sort By column such as YEAR([Date]) * 100 + MONTH([Date]).



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thanks, @Greg_Deckler, I'll give this a try. 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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