Forum Discussion
[API rest on premise] power BI report pbix data model
- 1 year ago
Hi,
Finally I found a solution. I recovered a part of the pbi-tool.1.1.1 program. I run MSMDSRV.EXE with the right config file, I recover the port of this service. With this port I create a connection string to connect to a TOM server (Microsoft.AnalysisServices.Tabular). This server allows me to recover datamodel from a pbix file.
i am afraid that you can not use this api to get the data model.
there is no documnet describing the actual/effective usages of PBIRS api. the only thing i can find is here.
pbirs | 2.0 | microsoft-rs | SwaggerHub
this swagger is 4 years ago. i can not tell if there is any updated version for PBIRS.
as lbendlin suggested, you can leaverage .pbip, but PBIRS haven't implemented .pbip yet.
an alternative way is to folk the CLI tool below which can extract data model to json or txt.
PBIRS is just inferior to PBI Service from both products and documents perspectives.
Hi,
Finally I found a solution. I recovered a part of the pbi-tool.1.1.1 program. I run MSMDSRV.EXE with the right config file, I recover the port of this service. With this port I create a connection string to connect to a TOM server (Microsoft.AnalysisServices.Tabular). This server allows me to recover datamodel from a pbix file.