Forum Discussion
Modifying the Layout files to add new visuals or update properties
- 1 year ago
This changes are not supported with pbix or bpit format. They are support with power BI projects. Save your file as pbip and you'll have access to the the report.json file which you can modify. The files should have a JSON schema, so you open with Vs code, you should get a indication of what is valid
The changes are only seen if you re open the report. Live changes are not supported yet
Can't see any examples online from a quick browse. It is possible. I would turn on git and commit your report. Create a new donut chart or table and look at the git diff to see what changes are applied to your file
Hi Deku ,
So as per your suggestion I created new report wherein I had two pages: In page-1 -> Placed a Donut chart and in Pge-2: Placed a card visual and a table. So my assumption was the name for visuals will remain same in all reports but that was not the case it is different
(New Report)
(In old report I had two pages: Page-1 -> Barc chart and Pie chart ; Page-2: Card visual)
So I was expecting as in both visuals I have used a card visual on screen-2 the name for the both visuals might be same but when I checked the respective json it was not the case
New Report (TestPlay.pbip -> JSON)
Old Report (Demo_to_Test.pbip-> Json)
So later if I have to add any another visual (there is no fix name associated)
Also in same report I had same visual (with different fields) to see if it also has different name or same name, the answer was different name
(TestPlay.pbip)
(JSON)
Page-2: Card visual name
Page-3:
(Its json)
And once the visual id is identified then comes the question how to structure the query :
(I will compare the reports but if there is an easy way that explains on how to structure it it will be helpful)
Regards,
Sidhant.