cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Data type Automatically sets to "Any" when importing from a SharePoint Online list

Hi All

 

Hopfully a quick query. For the first time I am pulling SharePoint online and I am noticing that every colunm is being set with the data type "Any". I find this odd as SharePoint Online is aware of the many datatypes I am using. e.g. Start Date - The SharePoint Online list knows this is set to "Date" but PowerBI is pulling it in as "Any".

 

Is there a way for BI to read the SharePoint column configuration and pull them in automatically or do I face the depressing task of manually changing hundreds of data types?

 

Thank you

 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User I
Super User I

Does this solution https://www.thebiccountant.com/2020/05/01/detect-change-types-of-all-columns-in-power-query... @ImkeF help?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Super User I
Super User I

Does this solution https://www.thebiccountant.com/2020/05/01/detect-change-types-of-all-columns-in-power-query... @ImkeF help?





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

This works well but I am surprised it is not automatic given its two MS products talking to each other. Is this detect type the only way or could it be automated on import somehow?

 

Thanks in advance

Community Support
Community Support

Hi @ncarrier08 ,

 

You can try to set "Type Detection" in "Options".

detect.JPG

 

Reference: AUTOMATICALLY DETECT DATA TYPES IN POWER BI

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Community Conference

Microsoft Power Platform Communities

Check out the Winners!

secondImage

Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors