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
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
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 |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |