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
bhmiller89
Helper V
Helper V

Problemas de formato condicional

Tengo una matriz que utiliza muchos puntos de datos diferentes, todos $dollars o perents.

Necesito mostrar cualquier cosa negativa (<0) como el color de fuente rojo.

Cuando intento el formato condicional, solo se me presenta la opción de "si el valor es mayor o igual que", "si el valor es mayor que" "si el valor está en blanco" y luego siempre me hace elegir una segunda condición.

Literalmente sólo necesito decir "si <0, rojo, más negro"

1 ACCEPTED SOLUTION
v-xuding-msft
Community Support
Community Support

Hola @bhmiller89 ,

Estoy de acuerdo con amitchandak. Podría usar una medida para implementarlo.

Measure = IF([Percentage]<0,"Red","Black")

2.gif

Best Regards,
Xue Ding
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

4 REPLIES 4
v-xuding-msft
Community Support
Community Support

Hola @bhmiller89 ,

¿Podría decirme si su problema ha sido resuelto? Si es así, marca amablemente la respuesta útil como solución si sientes que tiene sentido. Bienvenido a compartir su propia solución. Más personas se beneficiarán del hilo.

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-xuding-msft
Community Support
Community Support

Hola @bhmiller89 ,

Estoy de acuerdo con amitchandak. Podría usar una medida para implementarlo.

Measure = IF([Percentage]<0,"Red","Black")

2.gif

Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hola

utilizando el formato condicional puede aplicar una sola condición:

rule.jpg

amitchandak
Super User
Super User

@bhmiller89 , Creas una medida de color como

Ventas de color: if(AVERAGE(Sales[Sales Amount])>0,"green","red")

Y en el formato condicional usar opción de campo y elegir esta medida

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

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.