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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI 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.