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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Nexans
Frequent Visitor

CSV from Sharepoint - Ignore quoted line breaks

Hi.

 

I`ve figured out that I need to enable "ignore quoted line breaks" on CSV-import on the source I`ve got. Now I get the files automatically uploaded to a Sharepoint site, but adding a sharepoint folder I do not get the same option of ignoring line breaks.

 

Someone who knows about a work-around?

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

Hi @Nexans ,

 

To import 1 file with the options as indicated, next import the files from the folder and then adjust the relevant part of the generated code with the corresponding part of the code that was first generated for 1 file.

 

When importing files from a folder and combining them, you get several query objects.

The object that you should adjust is the query that transforms the example file, you can find at the location similar to this screenshot:

 

Transform Sample query 2.png

Please refer to this case.

 

https://community.powerbi.com/t5/Desktop/ignoring-Line-breaks-within-quotes-while-importing-folder/t...

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @Nexans ,

 

To import 1 file with the options as indicated, next import the files from the folder and then adjust the relevant part of the generated code with the corresponding part of the code that was first generated for 1 file.

 

When importing files from a folder and combining them, you get several query objects.

The object that you should adjust is the query that transforms the example file, you can find at the location similar to this screenshot:

 

Transform Sample query 2.png

Please refer to this case.

 

https://community.powerbi.com/t5/Desktop/ignoring-Line-breaks-within-quotes-while-importing-folder/t...

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Thaks a lot. 

 

And for future reference, it ic changing from QuoteStyle=QuoteStyle.None to QuoteStyle=QuoteStyle.Csv in advanced editor.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.