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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors