Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
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)
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
76 | |
76 | |
55 | |
36 | |
34 |
User | Count |
---|---|
99 | |
56 | |
53 | |
44 | |
40 |