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




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





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.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.