Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
OleMcDonald
Helper I
Helper I

Si ANY es verdadero VERDADERO/FALSO

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

1 ACCEPTED SOLUTION
littlemojopuppy
Community Champion
Community Champion

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()
)

View solution in original post

5 REPLIES 5
littlemojopuppy
Community Champion
Community Champion

De nada. Este es un vínculo a la documentaciónde Microsoft para DAX . Muy útil para mantener alrededor de 😉

littlemojopuppy
Community Champion
Community Champion

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

Anonymous
Not applicable

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.