Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hola a todos
Tengo columna de trabajo para filtro REV :-
1_REV =
SWITCH(TRUE(),
'GL'[Código de notificación]>=00001 &&'GL'[Código de notificación]<=00019,"REV",
BLANK())
También tengo columna de trabajo para el filtro EXP :-
1_EXP =
SWITCH(TRUE(),
'GL'[Código de notificación]>=00100 &&'GL'[Código de notificación]<=00375,"EXP",
BLANK())
Me gusta combinar por encima de 2 sintaxis en 1, de modo que cuando se seleccionó , se filtrará rev y EXP , lo intento a continuación no funciona :-
1_REVnEXP =
SWITCH(TRUE(),
'GL'[Código de notificación]>=00001 &&'GL'[Código de notificación]<=00019,"REV",
Y
'GL'[Código de notificación]>=00100 &&'GL'[Código de notificación]<=00375,"EXP",
BLANK())
Espero que alguien puede aconsejarme dónde ir mal ?
El siguiente enlace es mi archivo PBI :-
Paul
Solved! Go to Solution.
Hola Paul,
Creo que esto es lo que estás buscando:
1_REVnEXP =
SWITCH(
TRUE(),
'GL'[Reporting Code]>=00001 &&'GL'[Reporting Code]<=00019,"REV",
'GL'[Reporting Code]>=00100 &&'GL'[Reporting Code]<=00375,"EXP",
BLANK()
)
Dado que las condiciones para REV y EXP son mutuamente excluyentes, el pedido no importa.
saludos
Owen
Hola Paul,
Creo que esto es lo que estás buscando:
1_REVnEXP =
SWITCH(
TRUE(),
'GL'[Reporting Code]>=00001 &&'GL'[Reporting Code]<=00019,"REV",
'GL'[Reporting Code]>=00100 &&'GL'[Reporting Code]<=00375,"EXP",
BLANK()
)
Dado que las condiciones para REV y EXP son mutuamente excluyentes, el pedido no importa.
saludos
Owen