web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Query PowerBI dataset ...
Power Apps
Unanswered

Query PowerBI dataset within canvas app? (PowerBI.ExecuteDatasetQuery)

(0) ShareShare
ReportReport
Posted on by 18

I'm trying to get data from a PowerBI dataset in to a PowerApp collection without requiring any premium connectors.

I initially tried creating a flow to return the data using the "Run a query against a dataset" action but that powerapp action to return the result only allows for a text string rather than a json/table/anything that maps to a collection. I was able to use the "Response" action and it works, but we don't have general premium licensing for end users.

 

I noticed there was a PowerBI connector within PowerApp which seemed ot have the same function available so I gave that a shot, but it doesn't return any data. If I hover the formula bar, it states "This formula has side effects and cannot be evaluated". The arguments seem correct, if I change the DAX query to Portfolios for example, it does fail stating the table is not found so it is connected to the dataset to some extent.

 

Has anyone used this connector/function successfully? I can't find much documentation on this other than the fact that it exists.

https://docs.microsoft.com/en-us/connectors/powerbi/#run-a-query-against-a-dataset

 

thetakerfan_0-1654691250085.png

Result:

I get a collection with a table, but the table is empty. If I add .firstTableRows to the collection formula, its also empty.

thetakerfan_0-1654691644266.png

 

 

Categories:
I have the same question (0)
  • SergiP Profile Picture
    118 on at

    Hi,

    I recommend you to take a look at these 2 posts:
    Issues with PowerBI Execute Dataset Query - Power Platform Community (microsoft.com)

    Power Bi ExecuteDatasetQuery not working - Power Platform Community (microsoft.com)

    you'll find the solution there.

    If you know exactly the name of the tables and columns you are retrieving is pretty logic, but I agree that it is a pain not seeing any detail in the collection from PowerApps. You have the data but there's no way to know how it is structured, you need to know it from Power BI and recall it.

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard