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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
i96_md
Frequent Visitor

Help! Power BI reads dates from Excel as numbers

Hi All, 🙂 

When I import data from my Excel workbook, Power BI reads the dates as numbers, see below

i96_md_0-1705475962791.png

Tried to change the data format to Date and to play with the locale, but no luck! 

Please help 🙂

1 ACCEPTED SOLUTION
gmsamborn
Super User
Super User

Hi @i96_md 

 

First change the datatype to number since it is being imported as a string.  (as in original post)

 

After that you should be able to change the type to date.  It will ask if you want to replace the current step or create an additional step.  Select Additional step.

View solution in original post

4 REPLIES 4
gmsamborn
Super User
Super User

Hi @i96_md 

 

First change the datatype to number since it is being imported as a string.  (as in original post)

 

After that you should be able to change the type to date.  It will ask if you want to replace the current step or create an additional step.  Select Additional step.

Many thanks @gmsamborn! It worked 🎆

PijushRoy
Super User
Super User

Hi @i96_md 

After promoted header, their are one Step added by default "Change Type"
Please delete the step and try to change data type as Date

PijushRoy_0-1705476502380.png


If Solved your requirement, Please mark as SOLUTION

Thanks
Pijush

Hi @PijushRoy

Thakns for your support! 

 

Here are the steps applied:

i96_md_0-1705476879023.png

I did unpivoit the columns to have all dates in one line and becasue Power BI reads dates as numbers, they are unpivoted the same way 😥

 

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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