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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
ansa_naz
Continued Contributor
Continued Contributor

Dataflows - cannot set data type??

If I import an Excel spreadsheet into Dataflows, the date columns import as Text, and I cannot change the data type to Date. How can I do this please?

2 ACCEPTED SOLUTIONS
ansa_naz
Continued Contributor
Continued Contributor

To do this, I needed to edit the 'Changed Type' step in Power Query Editor - just change where it says 'type text' to 'type date'

View solution in original post

Correct - We use slightly different UI paradigms. You can adjust column types from the column header where you see the type icon (i.e. "abc", "123" , "1.2", etc.)

View solution in original post

5 REPLIES 5
ansa_naz
Continued Contributor
Continued Contributor

To do this, I needed to edit the 'Changed Type' step in Power Query Editor - just change where it says 'type text' to 'type date'

There's currently no automatic type detection in Power Query Online when importing data from an Excel file. We will address this gap in the future (don't have a firm timeline yet).

 

In the interim, you should be able to change column types from the Column header type indicator icon. Could you provide some more details on what you mean by "could not change the type to date"? Did you run into any tool errors in try to do this?

 

Thanks,
M.

ansa_naz
Continued Contributor
Continued Contributor

If you select 'Transform Column' in the service, there is no Data Type option in there, like there is in Desktop. See below:

 

Cannot set Data type in ServiceCannot set Data type in ServiceCan set Data type in DesktopCan set Data type in Desktop

 

Correct - We use slightly different UI paradigms. You can adjust column types from the column header where you see the type icon (i.e. "abc", "123" , "1.2", etc.)

ansa_naz
Continued Contributor
Continued Contributor

Aha, didnt know you could press on the 'ABC', '123' etc

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.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.