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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
esobrino
Helper II
Helper II

Data Warehouse - Can't delete queries.

Data Warehose "Explorer -> Queries -> MyQueries -> SQL query X" once created can't delete.
 

Using Microsoft Fabric - under the "Data Warehouse" experience.

 

Worked on some queries and now I like to clean-up some queries...  It turns out that is not possible

 

Once a query is created and used (so is not empty) it can't be deleted.  Therefore if you create a query and use it for a while it will have content and if you don't want the query anymore it can't be emptied since it will tell you "Unable to save the query", then if you try to close the Tab it tells you about "Discard changes" or "Cancel" and will revert the changes.

 

If you on the other hand select "Delete" on the specific query in the Explorer it does nothing and the queries just hang there for eternity.

 

I expect that if I delete the query within the Explorer it will be the end-of-it and be removed from the list.

 

Can anyone help?

1 ACCEPTED SOLUTION
Expiscornovus
Solution Sage
Solution Sage

Hi @esobrino,

 

I have tried reproducing your steps, but the delete option works fine in my Workspace.

 

Just to double check, are you using the same steps as below?

 

1. Select the query and right click to delete

deletesecondquery.png

 

2. You get a dialog which confirms the deletion of that specific query?

 

deletesecondquery_02.png

 

3. The Explorer refreshes and the query is gone from the My Queries folder (which assume is the part which goes wrong for you?)

 

onlyoneleft.png



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

View solution in original post

3 REPLIES 3
esobrino
Helper II
Helper II

Yes, generally they work fine, but at some point and after a while and for an unknown reasons I was not able to do so.  I will be viligant on my steps to get there and see if I can reproduce the issue before posting again about it.

 

Thanks for the quick response!

 

Hi @esobrino 
Glad that your query got resolved. Please continue using Fabric Community for any help regarding your queries.

Expiscornovus
Solution Sage
Solution Sage

Hi @esobrino,

 

I have tried reproducing your steps, but the delete option works fine in my Workspace.

 

Just to double check, are you using the same steps as below?

 

1. Select the query and right click to delete

deletesecondquery.png

 

2. You get a dialog which confirms the deletion of that specific query?

 

deletesecondquery_02.png

 

3. The Explorer refreshes and the query is gone from the My Queries folder (which assume is the part which goes wrong for you?)

 

onlyoneleft.png



Happy to help out 🙂

I share #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.