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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.