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
cah2035
Frequent Visitor

Copying data table from Power BI/Query to Excel

Hello, 

 

I have transformed by data using Power Query and am trying to copy the data to Excel by loading it to Power BI, right clicking on the table in the list, and selected "Copy Table". When I try to Ctrl+V, I get an error "Problems During Load" because of "Style". So when I try to paste just as text, it works, but then I noticed that there were some rows added in that were blank excel for one column of data. 

 

Investigating this, I found that one of my columns contained some cells that had carriage returned added to them like below. I assume this is what caused the issue when trying to paste, and then when trying to paste as text, it treated each of these as a different row rather than a single string of text. 

 

So my question is, how do identify and remove these carriage returns so I don't have this issue?

 

One

Two

Three

1 ACCEPTED SOLUTION
dax
Community Support
Community Support

Hi @cah2035 , 

I test this in my environment, which could work well. You could click like below, then paste this in Excel.

789.PNG

 

By the way, I think Analyze in Excel is more like a add-in tool which help open or connect dataset from powerbi service and analysis this in Excel. You could refer to service-analyze-in-excel for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
dax
Community Support
Community Support

Hi @cah2035 , 

I test this in my environment, which could work well. You could click like below, then paste this in Excel.

789.PNG

 

By the way, I think Analyze in Excel is more like a add-in tool which help open or connect dataset from powerbi service and analysis this in Excel. You could refer to service-analyze-in-excel for details.

Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

You can remove them in Power Query.  

 

Either use Character.FromNumber(10)  or the much more prosaic "#(lf)"

 

https://docs.microsoft.com/en-us/powerquery-m/character-fromnumber

 

The actual question is - why are you using Export?  What made you not consider Analyze in Excel?

Spoiler
 

@lbendlin Thanks for the help, I will try this out. 

 

What is the "Analyze in Excel" option? 

Edit: Is this an option for a visualization? I am not actually using Power BI for visualization. I am using it for Power Query since it has better function than Power Query in Excel, except for when trying to get the data into an excel spreadsheet. 

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.

Top Solution Authors
Top Kudoed Authors