cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ncarrier08
Frequent 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
vanessafvg
Super User
Super User

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





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




View solution in original post

3 REPLIES 3
Icey
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.

vanessafvg
Super User
Super User

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





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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

Helpful resources

Announcements
June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors
Top Kudoed Authors