Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hola
Le gustaría buscar su ayuda en lo siguiente.
si Prioridad = 2 horas, entonces Pase, si no 2 horas, entonces falló,
si Prioridad = 4 horas, entonces Pase, si no 4 horas, entonces falló
Muchas gracias por sus respuestas. Que dios te bendiga
¿Qué tal si la prioridad y la duración están en una mesa diferente?
eso funcionó. Muchas gracias. 🙂
¡Hola!
Prueba algo como esto:
SWITCH(
SELECTEDVALUE( Priority ),
"2 hours", "Pass",
"4 hours", "Pass",
"failed"
)
Si tu columna de prioridad es numérica, no uses comillas dobles.
¡Hágame saber si eso ayuda!
Hola, en bo la fórmula debe ser:
if (priority = p1, then (if duration <= 2, "pass", "fail") elseif (priority=p2, then (if duration >=4, "pass", "fail")
else "null"
Prueba esto:
IF (
priority = "p1",
IF (
duration <= 2,
"Pass",
"Fail"
),
IF (
priority = "p2",
IF (
duration <= 4,
"Pass",
"Fail"
),
BLANK ()
)
)
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.