This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
Hi,
is it possible to access .pbix files with an .NET program?
I want to programmaticly change datasources and add tables.
I do not want to show the visuals in my software.
Does someone have an idea if this is possible?
Many thanks,
Leopold
Solved! Go to Solution.
Hi @leschi ,
The PBIX file as a collection of files and folders in a compressed zip package. If you need to manually view the contents you can rename the ".pbix" extension to ".zip" to create a .ZIP file and then extract the contents of the file.
Currently there is no such functionality from powerbi to access/modify the pbix file programmatically from dotnet.
If you want you can request this idea in the idea forum
Hi @leschi ,
Yes you can achive that using a PowerBI REST API
*Push datasets API -You can only use this API against the datasets created via REST API. A normal dataset published from PBI desktop doesn't support this.
Hi @Jayendran , thanks for your answer.
But I want to change my File which i have stored on my computer not on PowerBI Online.
Do you have another idea?
Hi @leschi ,
The PBIX file as a collection of files and folders in a compressed zip package. If you need to manually view the contents you can rename the ".pbix" extension to ".zip" to create a .ZIP file and then extract the contents of the file.
Currently there is no such functionality from powerbi to access/modify the pbix file programmatically from dotnet.
If you want you can request this idea in the idea forum
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |