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

Column Data type

I  am getting data from web in table form  , which contains various types of columns with different data types like text, id,date etc . So is there any way that power bi can take data in that data type only ?  

 

It shoud identify that this is id column or date column rather than showing text data type every time.

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Super User IV
Super User IV

Re: Column Data type

Generally it tries to identify the correct data type but sometimes it cannot or makes a mistake if the first few thousand rows are one type and then a different type gets thrown in later. This usually works very well but could understand that this may not work well for web.

 

You can always just change the type, right-click change type.


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

Highlighted
Super User IV
Super User IV

Re: Column Data type

@JainilShah , if it does not detect automatically try this option

https://www.thebiccountant.com/2020/05/01/detect-change-types-of-all-columns-in-power-query/



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

2 REPLIES 2
Highlighted
Super User IV
Super User IV

Re: Column Data type

Generally it tries to identify the correct data type but sometimes it cannot or makes a mistake if the first few thousand rows are one type and then a different type gets thrown in later. This usually works very well but could understand that this may not work well for web.

 

You can always just change the type, right-click change type.


---------------------------------------

Putting square pegs in round holes since 1972.

I have a NEW book! 
DAX Cookbook from Packt
Over 120 DAX Recipes!




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

Proud to be a Super User!




View solution in original post

Highlighted
Super User IV
Super User IV

Re: Column Data type

@JainilShah , if it does not detect automatically try this option

https://www.thebiccountant.com/2020/05/01/detect-change-types-of-all-columns-in-power-query/



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
My Recent Blog -Week is not so Weak Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Upcoming Events

Upcoming Events

Wondering what events you could join or have an event to promote yourself? Check out our Upcoming Events.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Top Solution Authors
Top Kudoed Authors