Forum Discussion
Help with Python Library for Manipulating Power BI PBIR(report.json) and DIM files
- Anonymous1 year ago
Hi, edwardlee4948
As you mentioned, I have not found any open-source Python libraries specifically for handling PBIR and DIM files.
However, I discovered a project on GitHub called pbir-utils, which provides some useful functions for managing and manipulating PBIR metadata. I hope this is helpful to you:
GitHub - akhilannan/pbir-utils: A tool for managing Power BI Enhanced Report Format (PBIR) projects
Secondly, regarding obtaining visual objects, you can try the following JavaScript content:let pages = await page.getVisuals();For more details, please refer to:
Get pages and visuals in a Power BI embedded analytics application | Microsoft Learn
VisualDescriptor class | Microsoft Learn
Finally, you can also try the following third-party software to obtain visual object information:
Power BI Reporting Best Practices Analyzer - Microsoft Fabric Community
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, edwardlee4948
As you mentioned, I have not found any open-source Python libraries specifically for handling PBIR and DIM files.
However, I discovered a project on GitHub called pbir-utils, which provides some useful functions for managing and manipulating PBIR metadata. I hope this is helpful to you:
GitHub - akhilannan/pbir-utils: A tool for managing Power BI Enhanced Report Format (PBIR) projects
Secondly, regarding obtaining visual objects, you can try the following JavaScript content:
let pages = await page.getVisuals();
For more details, please refer to:
Get pages and visuals in a Power BI embedded analytics application | Microsoft Learn
VisualDescriptor class | Microsoft Learn
Finally, you can also try the following third-party software to obtain visual object information:
Power BI Reporting Best Practices Analyzer - Microsoft Fabric Community
Of course, if you have any new discoveries or questions, please feel free to get in touch with us.
Best Regards,
Leroy Lu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.