Forum Discussion

cssathya's avatar
cssathya
New Member
8 years ago
Solved

Accessing Power BI Report Server data from other applications

Are there ways in which the data model stored within a Power BI Report Server (PBIX) can be accessed from other applications for consumption? There seem to be options such as REST API and OData Feed ...
  • Anonymous's avatar
    Anonymous
    8 years ago

    What you're looking for isn't really supported. There are other methods of achieving something similar.

     

    You can host your data in a SSAS Tabular model. This can be accessed via several PBIX reports as a live data source or as an imported datasource. You can import a PBIX data model into SSAS Tabular though its a not exactly a painless experience. Once you have it there you can get it into Visual Studio. See this

     

    http://biinsight.com/import-power-bi-desktop-model-ssas-tabular-2016/

     

    The REST API doesn't expose an oData endpoint for the datasources used by the PowerBI reports. You can of course access DataSets built using conventional datasources (not PBI attached just regular SSRS datasources) via oData from PowerBI reports

     

    https://docs.microsoft.com/en-us/power-bi/report-server/access-dataset-odata

     

    If you created a datasource and then some datasets off the back of it you could use these as sources in multiple PBI reports and refresh the datasets on schedule.

     

    Thus you could "share" datasets between reports. Sort of. But it requires you to generate the initial PBIX and then transalte the datasets into conventional SSRS DataSources and DataSets somehow, so its more engineering and more of a mnagaed data model approach which is kind of the way you are leaning anyway.

     

    The problem this has and indeed using an existing PBIX as a data source is that if someone changes the PBIX (removes a column or renames somehting for example) then all the downstream reports that use it are going to be broken. So a degree of management and impact assessment is probably needed anyway when taking a common data sources approach.

     

    That last bit is very definitely an opinion rather than a hard fact.

     

    S