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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
NotebookEnjoyer
Advocate II
Advocate II

Cannot detach data item from notebook

Hi, the title is pretty much self-explanatory. The "Remove" option is greyed out. What is going on?

NotebookEnjoyer_0-1771509916203.png

1 REPLY 1
deborshi_nag
Memorable Member
Memorable Member

Hello @NotebookEnjoyer 

 

What you're experiencing is how Fabric Notebooks are designed to behave!

 

In a Fabric notebook, only ONE Warehouse can be the “primary” Warehouse. The first attached Warehouse becomes permanently bound. That primary Warehouse can never be removed. Any additional Warehouses are secondary and can be removed. You can try this with the other Warehouse you have attached. 

 

It seems the one you tried to remove is the first Warehouse you attached to your notebook. 

 

Fabric internally assigns the first Warehouse as Notebook SQL execution context. So it follows this rule

First Warehouse = permanent

Subsequent Warehouses = optional

 

If you want to “change” the primary Warehouse:

  1. Create a new notebook
  2. Attach the desired Warehouse first
  3. Copy notebook content
  4. Delete the old notebook

This is the only supported way to change the primary Warehouse.

 

 

I trust this will be helpful. If you found this guidance useful, you are welcome to acknowledge with a Kudos or by marking it as a Solution.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Free Fabric Certifications

Free Fabric Certifications

Get Fabric certified for free! Don't miss your chance.

January Fabric Update Carousel

Fabric Monthly Update - January 2026

Check out the January 2026 Fabric update to learn about new features.

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.