This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hola comunidad de Power BI,
¿Hay alguna opción para dar formato a color a una columna por más de otra columna?
Tengo dos tablas:
El primero contiene en cada celda un valor y el GM1 debe ser la columna de color.
| Contrato | Rama | Tipo | Equipo | GM1 |
| 1 | 30 | Ol | 601 | 8 |
| 2 | 30 | Mdl | 568 | 50 |
| 3 | 21 | Ol | 234 | 80 |
| 4 | 5 | Ol | 34 | 23 |
| 5 | 5 | Mdl | 500 | 15 |
La segunda tabla determina el color. Tengo que comprobar si team,branch y type coinciden con la primera tabla y comparar el porcentaje y el GM1 para determinar el color. El equipo y la rama son solo campos opcionales por lo que están en blanco. Tengo que utilizar el tipo especializado que significa si equipo,rama y tipo 601,30,MDL coincide con la primera tabla tengo que comparar este porcentaje->Rojo y no 30,OL->verde
¿Son alguna idea? Gracias de antemano
@jj_jenny , cuando vaya al formato condicional, puede elegir una medida que no sea esa columna para el grupo de colores.
o crear una medida como esta y utilizarla con la opción Campo en formato codicional
color ?
interruptor ( true(),
FIRSTNONBLANK(Table[commodity],"NA") -"commodity1" && sum(Table[Value]) >500,"lightgreen",
FIRSTNONBLANK(Table[commodity],"NA") -"commodity2" && sum(Table[Value]) >1000,"lightgreen",
Añadir más condiciones
"Rojo"
)
se refieren a los pasos
https://radacad.com/dax-and-conditional-formatting-better-together-find-the-biggest-and-smallest-num...
https://docs.microsoft.com/en-us/power-bi/desktop-conditional-table-formatting#color-by-color-values
Hola @jj_jenny ,
No muy claro.
Puede comprobar
https://community.powerbi.com/t5/Desktop/Color-Conditional-Formatting-Matrix/m-p/959291
https://community.powerbi.com/t5/Desktop/Matrix-visual-color-conditional-formatting/m-p/1153577
https://www.youtube.com/watch?v=BbuikATa3ow
https://www.youtube.com/watch?v=MAISRa88bl0
saludos
Harsh Nathani
Apreciar con un Kudos!! (Haga clic en el botón Pulgares arriba)
¿He respondido a tu pregunta? ¡Marca mi puesto como una solución!
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.