Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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 like to see this for each new visual i put on report
Solved! Go to Solution.
@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
Hi !
You can either hide the [Visual Header] completely or it will be available throughout. Curretly it's not possible to only show [Focus Mode] option & hide other options.
Regards,
Thanks for prompt reply. Do you maybe know where i can find some info regarding this. eg which setting is supported to be changed via JSON and which is not?
I would like to close to the topic so i can incorporate this in my company as soon as it becomes avaialble.
@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
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
}
]
}
}
}
}
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
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
81 | |
70 | |
49 |
User | Count |
---|---|
143 | |
124 | |
107 | |
60 | |
55 |