Announcements
Set( varPBI; PowerBI.ExecuteDatasetQuery( "XXXXXXX"; "YYYYYYY"; "EVALUATE SELECTCOLUMNS( PowerBITable, ""No_"", PowerBITable[No_], ""CustomerNo_"", PowerBITable[CustomerNo_], ""SalesCode"", PowerBITable[SalesCode] )" ) );; ClearCollect(colSalesLineRaw; varPBI.firstTableRows);; ClearCollect( colSalesLine; ForAll( colSalesLineRaw; { No_: Text(Value.'[No_]'); CustomerNo_: Text(Value.'[CustomerNo_]'); SalesCode: Text(Value.'[SalesCode]') } ) )
This error usually happens because PowerBI.ExecuteDatasetQuery requires the user to have direct access to the dataset and workspace where it lives, not just “Read/Build” permissions on the dataset itself. That’s why it works for you (as the owner) but fails for others.
The error isn’t about your code it’s about permissions and workspace access. Even with Read/Build rights, users need proper workspace membership and tenant settings enabled to run `ExecuteatasetQuery.
✨ If my response helped resolve your issue, please mark it as ✅ Accepted Answer and give it a ❤️ like — it helps others in the community find solutions faster. Thank you!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Valantis 424
WarrenBelz 355 Most Valuable Professional
11manish 290