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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
AlBud
Frequent Visitor

Custom Date Import

Hi all,

 

My problem is when I format in Power Query my custom date it doesn't format as a date and error's up as the below:

AlBud_2-1665132569843.png

 

 

My source file has a custom date format. It's formatted in MSExcel as MMM.

 

AlBud_0-1665132319925.png

I'm importing this into Power Query, I then unPivot the colums:

 

AlBud_1-1665132384364.png

And get the below:

AlBud_3-1665132675058.png

 

 

I can format the column "Attribute" as a date and get the below error:

 AlBud_2-1665132569843.png

 

Any ideas? I don't want to change the format of my source file.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @AlBud ,

 

How about adding a conditional column to convert the number to month name?

It's twelve months in total, so it's not particularly troublesome.

vstephenmsft_0-1665646266160.png

vstephenmsft_1-1665646301552.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @AlBud ,

 

How about adding a conditional column to convert the number to month name?

It's twelve months in total, so it's not particularly troublesome.

vstephenmsft_0-1665646266160.png

vstephenmsft_1-1665646301552.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Dinesh_Suranga
Continued Contributor
Continued Contributor

@AlBud 

Hi,

As I think the custom format for date in your excel should be "MMM".

Change it to "MMM-yyyy"

then refresh data set.

Thank you

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.