Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
Hi Guys,
I found this idea about PBIR file which can be programtically changed:
https://community.fabric.microsoft.com/t5/Fabric-Ideas/Button-to-Reload-Report-Layer-in-Power-BI-Des...
"
With PBIR is now possible to programatically modify the visual.json files to speed up the report design process. However, having to close and open the file to see the changes is time consuming and may even defeat the purpose of programatically modfying the visual.json files.
Automatic update like when a measure is created by an external tool would we awesome, but at the very least there should be some way of reloading the report layer without closing everything and reopening the file.
thank you!!"
What does it mean?
"With PBIR is now possible to programatically modify the visual.json"
Only code which i found is this:
https://www.esbrina-ba.com/pbir-scripts-to-replace-field-and-open-visual-json-files/?utm_source=chat...
and here this file is needed only to locate all visual jsons files.
If there is something else?
Best,
Jacek
Solved! Go to Solution.
Hi @jaryszek ,
Yes the .pbir file mainly acts as a reference that helps Power BI locate and organize the report components such as visuals.json and other layout files.
It doesn’t contain the visuals themselves but points to where those files are stored inside the project. This structure makes it easier for developers to work programmatically with report definitions.
Thank you.
Hi @jaryszek ,
Thanks for reaching out to the Microsoft fabric community forum.
The .pbir file is part of the new Power BI Project (.pbip) structure. It stores report details like visuals and layout in JSON format, so developers can now edit or script changes programmatically. When they say “programmatically modify the visual.json files”, it means you can use code or scripts to make changes directly in those files but currently, you still need to reopen the report to see the updates, as automatic refresh isn’t available yet.
Please go through the below document :
https://learn.microsoft.com/en-us/power-bi/developer/projects/projects-overview
If I misunderstand your needs or you still have problems on it, please feel free to let us know.
Best Regards,
Community Support Team
Hello,
thanks.
I have checked developers' approach and there is a way in .NET to just open this file and read, but there is not a lot of information so this file is used to localize visuals.json files.
Am I right? Or I am missing something?
Best,
Jacek
Hi @jaryszek ,
Yes the .pbir file mainly acts as a reference that helps Power BI locate and organize the report components such as visuals.json and other layout files.
It doesn’t contain the visuals themselves but points to where those files are stored inside the project. This structure makes it easier for developers to work programmatically with report definitions.
Thank you.
Hi @jaryszek ,
I hope the above details help you fix the issue. If you still have any questions or need more help, feel free to reach out. We’re always here to support you.
Regards,
Microsoft Fabric Community Support Team.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |