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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
ManasiL
Frequent Visitor

how to handle varchar datatype having special character in dataflow

We are trying to load data from SAP DB to Datawarehouse in fabric. If we keep the default schema mapping then there is not issue of datatypes. But if we create tables giving size for varchar types then some columns fail to load data because it contains special characters.

 

How to handle this?

Need urgent help!!

1 ACCEPTED SOLUTION
Srisakthi
Continued Contributor
Continued Contributor

Hi @ManasiL ,

 

Are you getting error saying table values truncation error? If so increase the size of varchar.

Is any of your column name has space in it? Fabric doesnt allow space in column names. Please check that as well.

 

View solution in original post

3 REPLIES 3
ManasiL
Frequent Visitor

Hello,

Thank you for your response. To answer your questions:

There is not space in column names.

Yes i was getting the truncation error.

To resolve this, for such text descriptive columns we set the column size to 200 whereas the source column size was around 50 and it solved our issue.

Srisakthi
Continued Contributor
Continued Contributor

Hi @ManasiL ,

 

Are you getting error saying table values truncation error? If so increase the size of varchar.

Is any of your column name has space in it? Fabric doesnt allow space in column names. Please check that as well.

 

mikeburek
Advocate II
Advocate II

What error are you getting?

Is the default mapping auto-creating varchar columns of size 8000?

 

And when you manually create the table, you give a specific varchar size? Something like varchar(30)?

 

Are you getting an error about data size truncating on the table you manually create?

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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