Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I am using Power Query (from web, Sharepoint link) to import some data from a single .csv which has some cells with multiple lines. I don't need to manipulate those cells, but the imported data is misaligned after importing.
For example: Here is the data from the .CSV (you can see it's in the notes column)
But after importing the data, what I guess is happening is the multiple lines is being delimited into subsequent columns which makes everything after this entry in the wrong column.
You can see now the data from "Notes" is under "Staff: Center"
I have not done any transformations. I have tried re-exporting the raw data multiple times, relinking the file, deleting and building it over again multiple times, all to no avail.
Any suggestions how to fix?
Solved! Go to Solution.
I fixed the problem by setting the Query Source option about "Line Breaks" to "ignore quoted line breaks"
I fixed the problem by setting the Query Source option about "Line Breaks" to "ignore quoted line breaks"
Hi @Judsonteacher,
Do you mind having a read of this: https://blog.crossjoin.co.uk/2018/03/09/an-in-depth-look-at-the-csv-document-m-function/ ? I think the issue that you have may relate to how the CSV.Document imports your data and Chris in his blog has a realy deep dive into how this function can be configured with various settings.
Hope this will help.
Kind regards,
John
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |