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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
Syndicate_Admin
Administrator
Administrator

En el valor de matriz cambios de fondo basados en el encabezado de fila

Hola

Me gustaría tener una matriz donde todos los fondos de los valores estén en diferente color según el encabezado de la fila (en mi caso - Región). He intentado hacerlo, sin embargo, no todos los antecedentes están cambiando. Por favor, vea a continuación:

Erburi92_0-1661951588268.png

La fórmula:

Erburi92_1-1661951621758.png

Y luego reglas:

Erburi92_2-1661951651317.png

¿Puede sombedy ayudarme y responder dónde está el error?

Gracias 🙂

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@Erburi92 , Crear una medida que devuelva el color del código hexadecimal

Switch( Max(Tabla[Código de región]),

"África", "Verde",

"América", "#FF00F0",

Añadir otro

)

Utilice esto en formato condicional mediante la opción de valor de campo

Pero en la matriz, solo coloreará los valores (no fila y columna)

¿Cómo hacer formato condicional por medida y aplicarlo en el pastel?
https://www.youtube.com/watch?v=RqBb5eBf_I4&list=PLPaNVDMhUXGYo50Ajmr4SgSV9HIQLxc8L
https://community.powerbi.com/t5/Community-Blog/Power-BI-Conditional-formatting-the-Pie-Visual/ba-p/...
https://amitchandak.medium.com/power-bi-where-is-the-conditional-formatting-option-in-new-format-pan...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors