Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hola a todos,
Ejemplo:
Font Color =
IF(
NOT ISINSCOPE('Table'[RowField]), -- this means grand total row
"#FF0000", -- color for grand total
"#000000" -- color for normal rows
)
Si tienes varios niveles de fila, comprueba el campo de nivel más bajo.
Ejemplo:
Font Color =
IF(
NOT ISINSCOPE('Table'[Category])
&& NOT ISINSCOPE('Table'[Subcategory]),
"#FF0000",
"#000000"
)
Matrix → Valores → Formato condicional → Color de fuente
Formato por: Valor del campo
Según el campo: Color de la fuente
Hola,
Sí, puedes conseguirlo usando una medida DAX para controlar el color de la fuente. El truco es detectar cuándo la matriz está representando específicamente la fila total. Puedes hacerlo usando la función ISINSCOPE: devuelve TRUE cuando la fila actual está dentro del alcance de una columna determinada, así que usando NOT ISINSCOPE, solo puedes apuntar al total general.
Por ejemplo, una medida sencilla podría ser así:
FontColor_GrandTotal =
IF(
NOT ISINSCOPE('Table'[Category]),
"#FF0000", // Color for grand total
"#000000" // Color for all other rows and subtotals
)
Luego, en la matriz, ve a Formatear >Valores > Formateo condicional > Color de fuente, elige Formatear por valor de campo y selecciona esta medida. De este modo, solo la fila del total general cambiará de color, mientras que los subtotales y filas regulares permanecen sin afectar.
Es una forma interesante de resaltar solo el total final sin afectar a otras filas.
¡Espero que te ayude!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.