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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Use Power Automate to get "Power BI App" data (not from a "Report")

Hello, all!

 

   I have been using the Power Platform for a while now, and I know how to use Power Automate to interact with Power BI reports on workspaces. I would like to use the Power Automate action "Run query against dataset" to retrieve data from a Power BI App. If you have never done used Power Automate to interact with Power BI Reports, here is a great tutorial with video (not mine). If the Power BI is a "Report" on a "Workspace", simply select the workspace, then the dataset, and you're good to go using DAX queries.

 

However, instead of a "Report", I need to get data from a "Power BI App". Any ideas? Here is the URL of the app (with numbers replaced):

https://app.powerbi.com/groups/me/apps/aaaaa/reports/bbbbb/ccccc?experience=power-bi

 

I can enter custom values as the "Workspace" and "Dataset", and have tried many combinations of the above URL to no avail. Any ideas on how to use Power Automate to interact with a "Power BI App"? 

 

Thanks, in advance!

 

Steve in Spain

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @Anonymous ,

 

As @ibarrau said, when you use flow, it actually calls the power bi restful api. There is no direct way to send a query request to the app. 

But if your scenario is that you don’t know what semantic model is used in the App, please try the following solution.

1\ Get all the dataset IDs in the app by calling the API in the flow

vxiaocliumsft_0-1727838926450.png

https://learn.microsoft.com/en-us/rest/api/power-bi/apps/get-reports

 

2\ Call the api to exectue querys in flow

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries

 

This method can be used to dynamically obtain the dataset id in the app.

 

Best Regards,

Wearsky

View solution in original post

Anonymous
Not applicable

Hello, all,

 

Note that none of the responses here worked, so I asked them to create a "Report" on a workspace instead of an "App", and that does the trick. Many thanks for the suggestions.

 

Steve in Spain

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hello, all,

 

Note that none of the responses here worked, so I asked them to create a "Report" on a workspace instead of an "App", and that does the trick. Many thanks for the suggestions.

 

Steve in Spain

Anonymous
Not applicable

Hi @Anonymous ,

 

As @ibarrau said, when you use flow, it actually calls the power bi restful api. There is no direct way to send a query request to the app. 

But if your scenario is that you don’t know what semantic model is used in the App, please try the following solution.

1\ Get all the dataset IDs in the app by calling the API in the flow

vxiaocliumsft_0-1727838926450.png

https://learn.microsoft.com/en-us/rest/api/power-bi/apps/get-reports

 

2\ Call the api to exectue querys in flow

https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries

 

This method can be used to dynamically obtain the dataset id in the app.

 

Best Regards,

Wearsky

Anonymous
Not applicable

Many thanks! I'll give it a try and report back.

 

Steve in Spain

ibarrau
Super User
Super User

Hi. You can't do that. The Power Bi App is a mix of reports from a Workspace. It's a tool to help the way it is distributed for users. It's not an independant storage that has a different semantic model for the report. Both the report at the app and the report at workspace have the same semantic model. If you want to query the semantic model you have to do it through the workspace. 

I hope that make sense


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Anonymous
Not applicable

Thanks! I had checked the Microsoft documentation and couldn't find any clear explanation. Do you have an authoritative Microsoft source confirming this? Perhaps, someone has a workaround or has done this before?

I'm aware of all the PowerBi Rest API requests. The Power Bi boxes you see at Power Automate are actually Rest API requests. I can know for sure you cannot find a semantic model for a Power Bi App because there is no semantic model. It doesn't duplicate the semantic model, it uses the one at the workspace. When runing a query to a dataset it asks for workspace.

The docs says: An app combines related content, like dashboards, spreadsheets, semantic models, and reports, all in one place. You can get more details about apps here: https://learn.microsoft.com/en-us/power-bi/consumer/end-user-apps

I hope that helps


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors