Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello! Is anybody know how to realize such a formula in PBI?
I have 3 columns with 0 and 1. I need to create additional columns with these conditions:
Add'l Col = IF(AND(Col1=0, Col2=0, Col3=0), 0, 1)
| Col1 | Col2 | Col3 | Add'l Col |
| 0 | 1 | 0 | 1 |
| 1 | 1 | 0 | 1 |
| 0 | 0 | 0 | 0 |
Thank you for your help!
Solved! Go to Solution.
Hi @Anonymous ,
In DAX the AND only allows 2 parameters use the && as AND variation add the following column:
Column = IF('Table (2)'[Column1] = 0 && 'Table (2)'[Column2] = 0 && 'Table (2)'[Column3] = 0 ; 0 ; 1)
Should return expected result.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsHi @Anonymous ,
In DAX the AND only allows 2 parameters use the && as AND variation add the following column:
Column = IF('Table (2)'[Column1] = 0 && 'Table (2)'[Column2] = 0 && 'Table (2)'[Column3] = 0 ; 0 ; 1)
Should return expected result.
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsShare feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 49 | |
| 40 | |
| 37 | |
| 14 | |
| 13 |
| User | Count |
|---|---|
| 85 | |
| 70 | |
| 37 | |
| 28 | |
| 27 |