This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
I want to create a new column based on a column query that uses Team and Home & Away teams to determine if the Team is Home or Away
| Team | Home Team | Away Team | Home or Away |
| Australia | France | Australia | |
| France | France | Australia |
Solved! Go to Solution.
Create a new column in DAX by using
NewColumn = IF (Table[Team]=Table[Home Team],"Home","Away")
Proud to be a Super User!
Create a new column in DAX by using
NewColumn = IF (Table[Team]=Table[Home Team],"Home","Away")
Proud to be a Super User!
@jamieham - I'm thinking:
Home or Away =
IF([Team] = [Home Team],"Home","Away")
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 32 | |
| 31 | |
| 21 | |
| 15 |
| User | Count |
|---|---|
| 66 | |
| 56 | |
| 31 | |
| 27 | |
| 22 |