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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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