We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
La siguiente fórmula no funciona por alguna razón. ¿Puede alguien ayudarme a corregirme?
CAMBIAR (
VERDADERO
[Días] 30 de <, "<30 Días",
[Días] >= 30 && [Días] <= 69, "30-69 Días",
[Días] >= 70 && [Días] <= 100, "70-100 Días",
[Días] >= 101 && [Días] <= 140, "101-140 Días",
[Días] >= 141 &&&[Días] <= 180, "141-180 Días",">180 Días")
La lógica es la siguiente:
IF [Días] <30 ENTONCES "<30 Días"
ELSEIF [Días] >= 30 Y [Días] <= 69 ENTONCES "30-69 Días"
ELSEIF [Días] >= 70 Y [Días] <= 100 ENTONCES "70-100 Días"
ELSEIF [Días] > = 101 Y [Días] < = 140 ENTONCES "101-140 Días"
ELSEIF [Días] > = 141 Y [Días] < = 180 ENTONCES "141-180 Días"
ELSE ">180 Días" FIN
¡Gracias!
Solved! Go to Solution.
tal vez probar esto
CAMBIAR (
TRUE(),
[Días] 30 de <, "<30 Días",
[Días] <= 69, "30-69 Días",
[Días] <= 100, "70-100 Días",
[Días] <= 140, "101-140 Días",
[Días] <= 180, "141-180 Días",">180 Días")
este es el error, expresión inesperada para aquellos en línea roja
Hola
No veo nada malo en esa construcción. ¿Para qué valores no está funcionando? Sírvanse dar algunos ejemplos.
Saludos
¿No ha intentado introducir eso como una medida, en lugar de una columna calculada, por casualidad?
Saludos
tal vez probar esto
CAMBIAR (
TRUE(),
[Días] 30 de <, "<30 Días",
[Días] <= 69, "30-69 Días",
[Días] <= 100, "70-100 Días",
[Días] <= 140, "101-140 Días",
[Días] <= 180, "141-180 Días",">180 Días")
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.