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

Visual Header Defaults in JSON #66

Open
Perri29 opened this issue Jun 17, 2021 · 3 comments
Open

Visual Header Defaults in JSON #66

Perri29 opened this issue Jun 17, 2021 · 3 comments

Comments

@Perri29
Copy link

Perri29 commented Jun 17, 2021

I need help to format the visual headers for slicers in my JSON theme; I need them to default to off but only for slicers.

@MattRudy
Copy link
Contributor

@Perri29 - This has been integrated into the new repository as part of the latest PR!
https://github.com/MattRudy/PowerBI-ThemeTemplates

@MattRudy
Copy link
Contributor

Hey @Perri29 -

This can be accomplished with a template like the one below:

{
	"name": "SlicersWithoutVisualHeaders",
	"visualStyles": {
		"*": {
				"*": {}
		},
		"slicer": {
			"*": {
				"visualHeader": [{
					"show": false
				}]
			}
		}
	}
}

You can find a universal sample to disable visual headers for all visuals or any visual here: https://github.com/MattRudy/PowerBIThemeSolutions/blob/main/src/HideVisualHeaders.json

@Perri29
Copy link
Author

Perri29 commented Oct 25, 2021

@MattRudy Thanks for the assistance on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants