Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more
I'm new to Power Bi and I'm trying to replicate some old reports I had in SAS and I want to use the IF and AND statements.
How would I replicate the following:
IF ((Tackle Type)="Dominant Tackle" AND (Tackle)="Tackle Assist),1,0)
Any help would be greatly appreciated.
Cheers
J
Try this syntax
Column = if(and(table[tackle type] = "Dominant Tackle", table[Tackle] = "Tackle Assist"), 1, 0)
Regards
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Thanks for the help
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 30 | |
| 28 | |
| 23 | |
| 21 | |
| 19 |
| User | Count |
|---|---|
| 44 | |
| 32 | |
| 18 | |
| 17 | |
| 17 |