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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Coffee123
New Member

Run a query against a dataset Error - Cannot find table

Hello!

 

Trying to run a dax query in power Automate but I keep getting an error. The dax query was copied from PBI's Performance Analyzer and it rund ok on DAX Studio. But when I paste the code into the Power Automate action I get the following error:

 

{"error":{"code":"DatasetExecuteQueriesError","pbi.error":{"code":"DatasetExecuteQueriesError","parameters":{},"details":[{"code":"DetailsMessage","detail":{"type":1,"value":"Query (13, 52) Cannot find table 'ClientsAll'."}},

 

Coffee123_0-1676590985285.png

 

I know the table exists, the name hasn't changed, it's in the model, and is properly connected to the proper fact tables. Is there some other reason (a limitation of some sorts) that will not allow a query to run in Power Automate although the query runs ok in DAX Studio? Any help will be appreciated!

1 ACCEPTED SOLUTION
Coffee123
New Member

Found the issue, I forgot to publish (upload to the service) the latest version of my report that included said table!

View solution in original post

6 REPLIES 6
Louis1911
Regular Visitor

I had the exact same problem and just wanted to say the solution solved it for me as well.

I won't be making that mistake again! 😄 Thanks for sharing!

Susan513
Helper II
Helper II

This happened to me today. I made a copy of an existing data flow to run on a copy of the report. I forgot to update the dataset to the new report copy. Duh! I always make copies because - life happens, but forgot I was in a different report. This post helped me figure it out thanks

Coffee123
New Member

Found the issue, I forgot to publish (upload to the service) the latest version of my report that included said table!

Hi! I'm having the same issue! Could you explain in more detail what you mean about uploading the latest version of the report. I'm working on updating the report in the Power BI desktop app. Do I need to publish the report to Power BI cloud for Power Automate to work?

Yes, that is correct! Power Automate can only communicate with the PowerBI report you have published to the service (the cloud). So if you make a change in the PowerBI desktop and create a query using the updated information on PowerBi Desktop, Power Automate won't be able to use it unless you publish the new/updated report to the service first.

Oh my goodness! I spent way too long trying to fix it in the desktop app. But now I know! Thank you so much!

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.