Forum Discussion
Revert all Visuals to Default for .JSON Theme
I am writing a .JSON Theme, and want to be able to reset all Visuals in a .PBIX file to Default so the theme can be applied to existing reports.
Is anything like this through the GUI, or code, available?
3 Replies
- AnonymousNot applicable
Hi Anonymous
You can create a .JSON Theme file with the default configurations for all visuals.
For reference:
Use report themes in Power BI Desktop
Custom report theme to control the default
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- AnonymousNot applicable
Anonymous I have written a .json file that changes default attributes of visuals (and other elements) in my report. The problem is that applying the .json theme does not override previous (manual) changes that have been made to those objects. So, if you have a report that was built, then you apply the .json theme, very few things actually change.
I need a way (either manually in the UI, or a line of code) that can reset all elements of the report to their default.
- brunozanoeloPost Patron
Same here!