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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

COPY INTO statement in Fabric fails with special character in external path

When trying to load external csv content from ADLSGen2 location into Fabric DataWarehouse table using COPY INTO statement, if the external path contains special chars (eg:  ~`), COPY INTO statement fails.

 

Example COPY INTO statement with special char:

COPY INTO "~`tgt~`schema3~`1699256789769"."striim_admin_T2_~tgt~table~"
 FROM 'https://infra760.blob.core.windows.net/striim-dwh-cntr/.striim/~`tgt~`schema3~`1699256789769.~tgt~table~0.csv.gz'
 WITH (
    FILE_TYPE = 'CSV',
    CREDENTIAL = ( 
        IDENTITY='Storage Account Key',
        SECRET='xxxxx'
    ),
    FIELDTERMINATOR = ',',
    ROWTERMINATOR = '0x0D0A'
 ) OPTION ( LABEL = 'COPY: "~`tgt~`schema3~`1699256789769"."striim_admin_T2_~tgt~table~"');

Error message:

KarthikPurush_1-1699615405808.png

 

1 REPLY 1
lbendlin
Super User
Super User

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi - otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.