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 / Power Bi ExecuteDatase...
Power Apps
Unanswered

Power Bi ExecuteDatasetQuery not working

(0) ShareShare
ReportReport
Posted on by 23

Hello,

 

In a PowerApps application, I'm trying to connect to a power bi dataset.

The function PowerBI.ExecuteDatasetQuery returns the correct number of rows, but rows are all empty.

How can we use this function?

What to put into the serializerSettings parameter?

Is it only working with Power Automate?

 

Many thanks in advance,

 

Sabine

Categories:
I have the same question (0)
  • jefmeyer Profile Picture
    166 on at

    I'm having the same results.  Any luck getting this working?

  • jefmeyer Profile Picture
    166 on at

    I opened a ticket and received the following response:

     

    The Product Group team has completed their investigation and determined that the issue you have reported is by design. The metadata for ExecuteDatasetQuery specifies that it will return an object, however it does not specify any columns or properties. As PowerApps is strongly typed, it does not parse any internal properties.

     

    The team is actively working to add support for this functionality in the near future, however a specific timeline for its implementation is not available at this time.

  • MahenderReddy Profile Picture
    2 on at

    Hi,

    Is there any update from MS regarding this issue?

  • SergiP Profile Picture
    118 on at

    hi,
    I found the solution in this topic: Issues with PowerBI Execute Dataset Query - Power Platform Community (microsoft.com)
    Basically I put the result of the PowerBI.ExecuteDatasetQuery in a collection and then use the data in the collection.
    It is not obvious to work with this collection because there's no way to see what's inside, but if you know the name of the tables and columns from the Dataset that you're recovering with your query then you can get the info...

    Example:  this code sends the query in varQuery to a Dataset and puts text returned from the first line on the Column1 from Dataset_Table2 into var_Result

    Set(var_Result, Text(First(PowerBI.ExecuteDatasetQuery(WorkSpaceID, DataSetID, varQuery).firstTableRows
    ).Value.'DATASET_TABLE2[COLUMN1]')

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard