Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

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

    • Anonymous's avatar
      Anonymous
      Not 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.