Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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")
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.