Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power bi .json Custom Theme - Revert visuals to default #2230

Closed
elcu opened this issue May 27, 2020 · 12 comments
Closed

Power bi .json Custom Theme - Revert visuals to default #2230

elcu opened this issue May 27, 2020 · 12 comments
Assignees
Labels

Comments

@elcu
Copy link

elcu commented May 27, 2020

Hello,

when you create your own theme in .json and they apply it to an already existing visuals, they do not get changed to the new style. You need to go to each of the visual's format tab, and manually click on the "revert to defaults" button. Then, the new theme and settings gets applied to the category. You need to do this for every category (10 to 20 of categories for each visual)

revert

Is there a possibility to add some line of code into the .json which resets all of the visuals into this default mode? Smthg like this (or smthg applicable on the global level):

"categoryAxis": [
          {
            "show": true,
            "position": "Left",
            "revert to defaults": true
          }
                        ]

Thank you :)

@KesemSharabi
Copy link
Contributor

Thanks for your comment, @elcu.

I've assigned this issue to the doc author for review.

In the meantime, you might find an answer in the Power BI Community.

@elcu
Copy link
Author

elcu commented May 28, 2020

Hello @uve,

just to specify what I am looking for:
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#situations-when-report-theme-colors-wont-stick-to-your-reports

Situations when report theme colors won't stick to your reports

When you change something in the visual then your imported theme doesn't override this changed setting in the visual. It overwrites only clean/non-changed visuals.

I would like to insert a code into the json which resets the visual to its defaults.

@maggiesMSFT maggiesMSFT assigned davidiseminger and unassigned uve May 29, 2020
@maggiesMSFT maggiesMSFT added the assigned-to-author Issues label label May 29, 2020
@maggiesMSFT
Copy link
Contributor

Hi, @elcu -- not sure why your link isn't working. You're referring to this article, right? https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-report-themes#report-theme-json-file-format
Assigning to the author for consideration.

@elcu
Copy link
Author

elcu commented Jun 1, 2020

Yes @maggiesMSFT , I am referring to that article. There is a special section in it "Situations when report theme colors won't stick to your reports". You need to manually click on that "revert to default" button now, but I would like to implement it into the .json file.

@Lightless9
Copy link

@elcu Did you ever find a solution for this? I'm having the same problem.

@elcu
Copy link
Author

elcu commented Sep 11, 2020 via email

@elcu
Copy link
Author

elcu commented Sep 11, 2020

@maggiesMSFT Hello Maggie, any update on this please? Thank you

@rikesh-neelakantan-jdas

Hi, is there a solution to revert all visuals to default?

@Lightless9
Copy link

@rikesh-neelakantan-jdas not that I know of. Would really be helpful though.

@rafaelsmoreno
Copy link

Any update on that one? This feature would really make a difference.

It should, however, be a button in PBI GUI (revert all visuals to default), or an option when changing the theme (e.g.: override manual configurations on all visuals).

@Lightless9
Copy link

I never solved this either. My project for a company default .json theme is "on hold" until I find a way to revert everything to default in the code.

Any update on that one? This feature would really make a difference.

It should, however, be a button in PBI GUI (revert all visuals to default), or an option when changing the theme (e.g.: override manual configurations on all visuals).

@mihart
Copy link
Contributor

mihart commented Feb 28, 2021

Hi @elcu @woodyj13, @rafaelsmoreno ,
I've searched the Community forum and the ideas.powerbi.com website, and see that this question/idea has been posted by several users. I am unaware of a solution. However, the more votes an Idea gets, the more likely it will catch the product team's attention. Here's a link to the Idea that seems to best match: https://ideas.powerbi.com/ideas/idea/?ideaid=83137c9d-277f-4249-97f7-431cd98409dc.
All the best,
the DOCS team

@mihart mihart closed this as completed Feb 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants