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
Syndicate_Admin
Administrator
Administrator

Formato condicional

Hola

Estoy trabajando en un proyecto para el trabajo. ¿Hay alguna manera de hacer formato condicional en la tabla real en lugar de crear un montón de medidas? Aquí está la fórmula que estoy usando incorporada en una medida.

AJS reservado % Color de fuente =
Dónde selección = SELECTEDVALUE(Benchmark[Benchmark])
Dónde respeto = [Ficha de referencia de AJS reservada %]

devolución
INTERRUPTOR(VERDADERO()
, selección = "vs Hace Un Año"
, INTERRUPTOR(VERDADERO()
, respeto < 0, "#D2222D"
, respeto = 0, "#000000"
, respeto > 0, "#238823"
)
, selección = "vs Presupuesto"
, INTERRUPTOR(VERDADERO()
, respeto < 1, "#D2222D"
, respeto = 1, "#000000"
, respeto > 1, "#238823"
)
)
1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@cporter1 , Usar medida es una buena manera, utilizando la opción de valor de campo.

No estoy seguro de qué otra forma se utiliza.

consultar si es necesario

¿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/...

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.