Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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")
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 151 | |
| 130 | |
| 109 | |
| 79 | |
| 54 |