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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.