Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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")
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.