How to use Power BI API to get data from report on PBIRS?

Polinkk 1 Reputation point
2021-06-01T18:25:15.707+00:00

Hey all,

I have a Power BI report that is currently uploaded to a PBIRS that I am trying to extract the data from. The report has multiple fields, as seen below:

101475-fields1.png

I would like to use PowerShell with the Power BI API to grab a specific field of data and put it into an Excel file. However, the closest thing I've seen that the API offers to getting data is DataSets, which does not apply to my report. Using REST returns a 404:

101531-datasettest1.png

Going to the URL specified in the REST command (without /DataSets) returns the metadata of the report, but doesn't mention any of the actual produced data from the fields. Going off of that, would it be possible to access the data for this report through PowerShell, or do I have to do it manually through Power BI Desktop? Thanks!

Community Center | Not monitored
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 86,086 Reputation points
    2021-06-01T18:30:08.627+00:00

    Hi @Polinkk ,

    Please note that Power BI is currently not supported in the Q&A forums, the supported products are listed over here https://learn.microsoft.com/en-us/answers/products.

    You may ask the experts in the dedicated Power BI forum over here:
    https://community.powerbi.com/t5/Forums/ct-p/PBI_Comm_Forums

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,
    Leon

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.