Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I am trying to get the Table(s) from the datasource via api. I was trying to query first the data source (which is a sharepointlist)
however when i make the following call i get an error:
http://myreportserverreports/api/v2.0/PowerBIReports(Path='/Sfolder1/report1')/datasources - Get Method
Result:
{
"@odata.context":"http://myreportserverreports/reports/api/v2.0/$metadata#DataSources","value":[
{
"Id":"2b0557f4-7a15-e811-80eb-005056813ac7","Name":null,"Description": ... etc.I then make the following call:
http://myreportserverreports/api/v2.0/PowerBIReports(Path='/Sfolder1/report1')/datasources(2b0557f4-7a15-e811-80eb-005056813ac7)
and i get the following resut:
{
"error":{
"code":"0","message":""
}
}My actual question is, can we get the tables used in the Report Query in Pbi Desktop via API, or at least some values so that we cna then use this to integrate the report into Sharepoint?
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |