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.
No estoy seguro de por qué lucho tanto con esta lógica
Estoy tratando de decir si cualquiera de estos son verdaderos entonces returen verdadero
if [HasOptedOutOfEmail]=true
or
[Unsync_with_Marketo__c] = true
or
[JobGroups]="Other"
or
[Engagement_Status__c]="Disqualified - Duplicate"
or
[Engagement_Status__c]="Disqualified - No Longer Employed"
or
[Engagement_Status__c]="Disqualified - Opt-out Requested"
or
[Engagement_Status__c]="Disqualified - Data Issue"
[Engagement_Status__c]="Disqualified - Competitor"
or
[Engagement_Status__c]="N/A - Partner Contact"
or
[Engagement_Status__c]="N/A - Press / Analyst Contact"
or
[Engagement_Status__c]="Nurture - Region Not Serviced"
then true
else false
Solved! Go to Solution.
Prueba esto...
SWITCH(
TRUE(),
[HasOptedOutOfEmail] = TRUE() , TRUE(),
[Unsync_with_Marketo__c] = TRUE() , TRUE(),
[JobGroups] = "Other", TRUE(),
.
.
.
[Engagement_Status__c] = "Nurture - Region Not Serviced", TRUE(),
FALSE()
)
De nada. Este es un vínculo a la documentaciónde Microsoft para DAX . Muy útil para mantener alrededor de 😉
Prueba esto...
SWITCH(
TRUE(),
[HasOptedOutOfEmail] = TRUE() , TRUE(),
[Unsync_with_Marketo__c] = TRUE() , TRUE(),
[JobGroups] = "Other", TRUE(),
.
.
.
[Engagement_Status__c] = "Nurture - Region Not Serviced", TRUE(),
FALSE()
)
Nunca supe de SWITCH.. Esto funcionó y se ha convertido en mi nuevo mejor amigo.
Necesito investigar más al respecto
Gracias a todos
Probablemente porque le falta un quirófano entre el problema de datos y el competidor
Buen ojo Nikhil
Lo eliminé de la publicación por accidente cuando intenté formatear el texto. En realidad existía en mi código
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 | |
2 | |
2 | |
2 | |
1 |