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.
Hola a todos.
Estoy intentando crear una nueva columna personalizada basada en los valores de u_regulatoryflag columna. Contiene identificaciones que soy makin texto legible por humanos de estos. Aquí hay un código de ejemplo:
dv_u_regulatory_flag = Table.AddColumn(#"Filtered values", "dv_u_regulatory_flag",
each if Text.Contains([u_regulatoryflag], "29744385db18cc508a363a0f9d961950") then "Value1"
else if Text.Contains([u_regulatoryflag], "5384c385db18cc508a363a0f9d96198f") then "Value2"
else if Text.Contains([u_regulatoryflag], "29744385db18cc508a363a0f9d961950") and Text.Contains([u_regulatoryflag], "5384c385db18cc508a363a0f9d96198f") then "Value1, Value2"
else null)
in
dv_u_regulatory_flag
Las dos primeras condiciones siempre funcionan. El tercero con "y" no funciona. Sin embargo, si comento las dos primeras condiciones, la tercera comienza a funcionar.
¿Puede alguien por favor explicar este comportamiento y ayudarme a armar la consulta?
Gracias.
Solved! Go to Solution.
Creo que primero debe verificar la condición más compleja
Creo que primero debe verificar la condición más compleja
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
2 | |
2 | |
1 |