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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
RobRayborn
Helper III
Helper III

Importing data with characters not equitable for data loading

I am pulling data from an SQL database.  One of the columns of this data has a text field where some of the records that use " to call out inches.  
When I Import the data these problem records split at the " mark and shift the fields in that record to the right after that problem cell.

This messes everything else up further down the line.

Is there a way to omit this column of data before it is imported in?  So far I havn't found an option to remove it before import.

1 ACCEPTED SOLUTION
v-stephen-msft
Community Support
Community Support

Hi @RobRayborn ,

 

You can remove the column with the text field that has the " character before importing the data. One way to do this is to modify the SQL query that you use to pull the data from the database to exclude the problematic column. Another way is to use Power Query Editor to remove the column after importing the data. To do this, you can select the column that has the " character, right-click on it, and choose "Remove". This will remove the column from the data set.

 

Best Regards,

Stephen Tao

 

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

View solution in original post

2 REPLIES 2
RobRayborn
Helper III
Helper III

Though neither one of the solutions above would have worked, as shown, this turned out to be a non-issue.

v-stephen-msft
Community Support
Community Support

Hi @RobRayborn ,

 

You can remove the column with the text field that has the " character before importing the data. One way to do this is to modify the SQL query that you use to pull the data from the database to exclude the problematic column. Another way is to use Power Query Editor to remove the column after importing the data. To do this, you can select the column that has the " character, right-click on it, and choose "Remove". This will remove the column from the data set.

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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