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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
MikeVelotix
New Member

Retrieving report content from API or tables associated from report.

Hey all,

I am using PowerBi Report Server (on-prem), I am looking to ways to get report metadata, tables and it's columns which are associated to the report in REST API.

As I have seen there isn't an official API for that, I heard there is an API for downloading the .pbix file, which I want to try to get the information from that file.

ChatGPT suggested:
curl --ntlm -u "username:password" -X GET "http://your-report-server/Reports/api/v2.0/PowerBIReports/{report-id}/Content/$value" -o "path_to_save_report.pbix"

but it was pure hullicanations and there isn't such endpoint from what I tested.

Would like some help


1 ACCEPTED SOLUTION
d_gosbell
Super User
Super User
3 REPLIES 3
MikeVelotix
New Member

is it possible to get the tables associated with a report with DAX query in on-prem server?


@MikeVelotix wrote:

is it possible to get the tables associated with a report with DAX query in on-prem server?


No, you cannot run DAX queries against a data model hosted in the on-prem Report Server. It does not expose an XMLA endpoint.

d_gosbell
Super User
Super User

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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