Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have a service principal configured to access Power BI. I can successfully use the REST API to get metadata about dashboards, reports, and datasets. What I can't seem to be able to do is get the actual data displayed in the reports - i.e. the data as displayed in the visualizations as a table. This data can be seen as a table in the report visualization edit view of Power BI.
Is it possible through the REST API, using a service principal, to get this report visualization data in a tabular format?
If so, what endpoints return this data?
Solved! Go to Solution.
Hi. A request like that doesn't exist in Rest API. The only way to get data with the API is executing a query to the semantic model. It has it's limitation. You can read more about that in here:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries-in-group
I hope that helps
Happy to help!
Hi. A request like that doesn't exist in Rest API. The only way to get data with the API is executing a query to the semantic model. It has it's limitation. You can read more about that in here:
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/execute-queries-in-group
I hope that helps
Happy to help!
Thanks for the response.
Can I get the query that generates the data from the API?
i.e. can I reconstruct the visualization backing data by reading a query from somewhere and then executing it?
The API let you write DAX Queries. If you know DAX you can get anything from the model. If you don't, but you have access to the semantic model or report development. Then you can get the query behind specific visuals with the performance analyzer:
https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-performance-analyzer
The query is usually kind of big. You can test it in the DAX Query view.
I hope that make sense
Happy to help!
I don't think I will be able to use this, but thanks for your help!
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
59 | |
35 | |
27 | |
26 | |
24 |
User | Count |
---|---|
62 | |
53 | |
30 | |
23 | |
20 |