Forum Discussion
Anonymous
6 years agoNot applicable
JSON file to control visual headers
Hi there, Is there a way to control with JSON theme file what will be default option in visual header? I am interested to see only "Focus mode icon" So as desired outcome i would...
- 6 years ago
Anonymous
You may take a look at the post below.
https://community.powerbi.com/t5/Desktop/Report-Theme-font-color-relative-slicer/td-p/768340
Anonymous
6 years agoNot applicable
thanks v-chuncz-msft
This was exactly what i was needed
Anonymous
6 years agoNot applicable
If there is anyone with same request, this will help
{
"name":"Test",
"visualStyles":{
"*":{
"*":{
"visualHeader":[
{
"show":true,
"showFilterRestatementButton":false,
"showOptionsMenu":false,
"showSeeDataLayoutToggleButton":false,
"showPinButton":false,
"showDrillDownExpandButton":false,
"showDrillDownLevelButton":false,
"showDrillToggleButton":false,
"showDrillUpButton":false,
"showDrillRoleSelector":false,
"showVisualErrorButton":false,
"showVisualWarningButton":false,
"showVisualInformationButton":false
}
]
}
}
}
}- skcary23 years agoFrequent Visitor
This is the correct response to the original question. I will also add you can adjust the focus mode button with the following attribute
"showFocusModeButton":false