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.
IsReferral= IF(AND(SalesLeads[IsWebLead]=0, SalesLeads[IsPhoneLead]=0....
But I also need to say "and if SalesLeads[IsSelfGen]=0"
If all three conditions are met, then 1, else 0.
I'm assuming I need to connect it using && somehow.
Solved! Go to Solution.
For some reason, the DAX version of AND only accepts two arguments, but you're correct about using &&. Just use that between each condition, which you can separate with parentheses for easier reading if you prefer.
IsReferral = IF(SalesLeads[IsWebLead]=0
&& SalesLeade[IsPhoneLead=0
&& SalesLeads[IsSelfGen]=0, true result, false result)
You could also nest two AND functions, but that's ugly by comparison:
IsReferral = IF(AND(
AND(
SalesLeads[IsWebLead]=0,
SalesLeade[IsPhoneLead=0
), SalesLeads[IsSelfGen]=0
), true result, false result)
For some reason, the DAX version of AND only accepts two arguments, but you're correct about using &&. Just use that between each condition, which you can separate with parentheses for easier reading if you prefer.
IsReferral = IF(SalesLeads[IsWebLead]=0
&& SalesLeade[IsPhoneLead=0
&& SalesLeads[IsSelfGen]=0, true result, false result)
You could also nest two AND functions, but that's ugly by comparison:
IsReferral = IF(AND(
AND(
SalesLeads[IsWebLead]=0,
SalesLeade[IsPhoneLead=0
), SalesLeads[IsSelfGen]=0
), true result, false result)
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 |
---|---|
111 | |
100 | |
80 | |
64 | |
58 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |