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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
ramonsuarez
Advocate II
Advocate II

How to copy formatted notebook output to the clipboard ?

Hi, 

 

I'm having trouble copy-pasting for my documentation.

 

When I have content that cannot be downloaded as a file via the menu on top of the output cell, I copy it to the clibpoard, but when I paste it none of the formatting is respected and I end up with a mess.

 

E.g.: I print out multiple dataframes with .show() within the same code cell and then I try to copy and paste the results. 

 

As I'm having more than a single dataframe in the output cell, there's no download option. 

 

I do this a lot when debugging, and it is not workable to add a new cell after every few lines. 

If I could save the result to a file in my local computer it could be helpful too. 

I've tried both with Windows and Linux computers and on multiple browsers (also Edge). 

 

Thanks for your help 🙂 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ramonsuarez ,

Now I can understand your issue more clearly.
This issue looks like Word, Obsidian, and Google Docs are not supporting this format.
We didn't find any issue when we copied it to notepad. 
Currently we only support this format only, apologies for that.

Appreciate if you could share the feedback on our feedback channel for feature request like copy clipboard option. Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.

Hope this is helpful. Please let me know if you have any further queries.

View solution in original post

7 REPLIES 7
ramonsuarez
Advocate II
Advocate II

No, I'm not looking for an option to download the dataframe. I know how to do that.

The issue is when I want to copy and paste results that are not single dataframes.

Examples: 

* Result of a query with the schemas of multiple tables of my lakehouse

* Anything diplayed as one or more tables that does not use display(). 

 

Anonymous
Not applicable

Hi @ramonsuarez ,

When I tried to display to two tables using .show(), I was able to drag and copy the dataframes to a notepad without any issue.

vgchennamsft_0-1704801923175.png

 

vgchennamsft_1-1704801941994.png


In case if your requirment is quite different and it is not supported in Fabric Notebooks.

Appreciate if you could share the feedback on our feedback channel. Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.

 

Hope this helps. Please let me know if you have any further queries.

Thanks for the work around, but the issue persists with Word, Obsidian, and Google Docs. 

With this extra step the format is preserved when copying and pasting from Notepad. 

Anonymous
Not applicable

Hi @ramonsuarez ,

Now I can understand your issue more clearly.
This issue looks like Word, Obsidian, and Google Docs are not supporting this format.
We didn't find any issue when we copied it to notepad. 
Currently we only support this format only, apologies for that.

Appreciate if you could share the feedback on our feedback channel for feature request like copy clipboard option. Which would be open for the user community to upvote & comment on. This allows our product teams to effectively prioritize your request against our existing feature backlog and gives insight into the potential impact of implementing the suggested feature.

Hope this is helpful. Please let me know if you have any further queries.

Thanks, here's the feedback requesting a fix on the  Fabric Ideas platform. 

Anonymous
Not applicable

Hi @ramonsuarez ,

Thanks for using Fabric Community.

As I understand you are looking for option to download the dataframe.
Can you try using below function:

display(df)

vgchennamsft_0-1704432490160.png


Hope this is helpful. Please let me know incase of further queries.

Anonymous
Not applicable

Hi @ramonsuarez ,

We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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