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
Hi Deku ,
Thanks for the guiding to save the file as pbip instead of pbix, after doing this I got the following structure:
Inside the 'Report_Name.Report' folder I got the 'json' file (which you mentioned 'Report.json') which was editable in my editor (VS code)
So I tried modifying the height and width of the card visual on Page-2
(Changed the height and width in the json file-> Saved it), I was expecting the height and width to be updated but the changes weren't reflected.
(Changes not reflected)
Right now I am trying to modifying the existing visuals but if I want to a new visual (lets a donut chart or a table visual) then how should I start the construction is can you help me with this (is there any article or documentation that can help to add a new visual in a report through json file).
Regards,
Sidhant.
Hi Deku ,
Just a quick update I was able to modify the size of the card visual just had to modify the width ad height in the config section
So now I just want to understand how to add new visuals (and also I have seen a unique id associated with every visual name so how can I figure out the same for other visuals)
Regards,
Sidhant.
- Deku1 year ago
Super User
With mar release you can right click a visual to copy it's visual id