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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.