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 tratando de ejecutar una instrucción múltiple if en una columna calc pero no funcionó,
Así que estoy tring para implementar una instrucción switch pero niether wont trabajo.
@Ezz , usted primero si
IF(Refuellings[Land]"Países Bajos" && Tankings[Proveedor]-"HecPoll" ;" Papendrecht_HecPoll"; Reabastecimiento de combustible[Proveedor])
Los HAs terminaron aquí. después de eso es sólo repetir.
Si necesita bucle si
IF(Refuellings[Land]"Países Bajos" && Tankings[Proveedor]-"HecPoll" ;<Si está aquí>;<Si está aquí>)
O utilice Switch True
Switch(True(),
<condición>, <acción>,
<condición>, <acción>,
<condición>, <acción>,
<otra acción>
)
Prueba esto
SupplierHecPollNL =
IF (
Tankingen[Land] = "Netherlands"
&& Tankingen[Leverancier] = "HecPoll";
"Papendrecht_HecPoll";
IF (
Tankingen[Land] = "Netherlands"
&& Tankingen[Leverancier] = "Replace with another value";
"Papendrecht_Replace with another value";
Tankingen[Leverancier]
)
)
¿Respondí a tu pregunta? ¡Marca mi puesto como solución!
Apreciar con un kudos🙂
Hola @Ezz
usted dio completamente la misma frase escrita dos veces.
utilizar sólo este
SupplierHecPollNL = IF(Tankingen[Land]="Netherlands" && Tankingen[Leverancier]="HecPoll" ;"Papendrecht_HecPoll";Tankingen[Leverancier])
o utilizar SWITCH()
SupplierHecPollNL =
SWITCH(TRUE();
Tankingen[Land]="Netherlands" && Tankingen[Leverancier]="HecPoll" ; "Papendrecht_HecPoll";
Tankingen[Land]="Other" && Tankingen[Leverancier]="Other" ; "Otehr Value";
Tankingen[Leverancier]
)
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 |