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

Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.

Reply
mpgoggin
Advocate II
Advocate II

Error when deleting a DirectQuery - "unable to load a query that produces no tables"

Hi,

I tried to use Get Data --> PowerBI dataset, but ran into issues some issues.

I've decided to remove the tables and try a different apporach to getting the data.

 

But when I try to remove them, the changes won't apply. I get an error:

"Unable to load a query that produces no tables"

How can I get past this error? Currenlty my PBIX file is prompting me to Apply or Discard changes. If I hit Apply, I get the error. If hit Discard, I have tables I don't want.

 

What do you recommend?

 

Thanks, 

Mike

2 ACCEPTED SOLUTIONS
mpgoggin
Advocate II
Advocate II

OK, I figured it out: Doh! Delete the source from Data Source Settings, Not by deleting the tables from the Fields pane or the Model View

View solution in original post

Anonymous
Not applicable

Hi @mpgoggin ,

 

I'm glad you figured it out yourself and managed to solve the problem. You can mark your answer as a solution so that you can better help other members with similar problems.

 

Best regards,

Community Support Team Selina zhu

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
mpgoggin
Advocate II
Advocate II

OK, I figured it out: Doh! Delete the source from Data Source Settings, Not by deleting the tables from the Fields pane or the Model View

Thank you so much! I did the same thing. All is well now!

Anonymous
Not applicable

Hi @mpgoggin ,

 

I'm glad you figured it out yourself and managed to solve the problem. You can mark your answer as a solution so that you can better help other members with similar problems.

 

Best regards,

Community Support Team Selina zhu

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

Helpful resources

Announcements
May PBI 25 Carousel

Power BI Monthly Update - May 2025

Check out the May 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

May 2025 Monthly Update

Fabric Community Update - May 2025

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

Top Solution Authors