Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Archivo JSON para controlar encabezados visuales

Hola

¿Hay alguna manera de controlar con el archivo de tema JSON cuál será la opción predeterminada en el encabezado visual?

Estoy interesado en ver sólo "icono de modo de enfoque"

2020-03-25 16_45_45-_Untitled - Notepad.png

Así que como resultado deseado me gustaría ver esto para cada nuevo visual que puse en el informe

2020-03-25 16_50_08-test 2 - Power BI Desktop.png

1 ACCEPTED SOLUTION

@morz3d

Puede echar un vistazo a la publicación a continuación.

https://community.powerbi.com/t5/Desktop/Report-Theme-font-color-relative-slicer/td-p/768340

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
HashamNiaz
Solution Sage
Solution Sage

¡Hola!

Puede ocultar completamente el [Encabezado visual] o estará disponible en todo. Curretly no es posible mostrar sólo la opción [Modo enfoque] y ocultar otras opciones.

saludos

Anonymous
Not applicable

@HashamNiaz

Gracias por una pronta respuesta. ¿Sabes dónde puedo encontrar alguna información sobre esto. por ejemplo, ¿qué configuración se admite para cambiar a través de JSON y cuál no?

Me gustaría acercarme al tema para poder incorporarlo a mi empresa tan pronto como se convierta en disponibilidad.

@morz3d

Puede echar un vistazo a la publicación a continuación.

https://community.powerbi.com/t5/Desktop/Report-Theme-font-color-relative-slicer/td-p/768340

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

gracias @v-chuncz-msft

Esto era exactamente lo que necesitaba

Anonymous
Not applicable

Si hay alguien con la misma solicitud, esto ayudará a

{
   "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
               }
            ]
         }
      }
   }
}

Esta es la respuesta correcta a la pregunta original. También agregaré que puede ajustar el botón del modo de enfoque con el siguiente atributo

"showFocusModeButton":false

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.