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
He creado un grupo calculado con múltiples cálculos y formatos. El problema con el que me encuentro es conseguir que los negativos sean rojos. Probé muchos videos en línea con soluciones, pero no puedo hacer que funcione.
Este solo parece funcionar cuando no tienes varios cálculos diferentes.
https://www.youtube.com/watch?v=ToAlPA5KvUc
Este parece mejor, pero no puedo obtener el rojo en la fórmula.
https://www.youtube.com/watch?v=90X5_tISxIY&t=527s
No estoy seguro de lo que estoy haciendo mal o a dónde ir desde allí. Me encantaría un poco de ayuda ¡Muchas gracias!
Aquí está mi reciente intento de agregar una instrucción If a la función Switch con mis cálculos.
Interruptor(
Verdadero(), Selectedmeasurename () = "Beneficio neto CY", Formato([Beneficio neto CY], "$ 0,0"),
Selectedmeasurename () = "Beneficio neto LY", Formato([Beneficio neto LY], "$ 0,0"),
Selectedmeasurename () = "Beneficio neto VY", Formato([Beneficio neto VY], "$ 0,0"),
si(Selectedmeasurename () = "NP % +/-" && >=0, Formato([NP % +/-], "0.0%"), "Rojo" && Formato([NP % +/-],"0.0%; -0.0%")),
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.