Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
jamieham
Helper II
Helper II

DAX Query

I have a table with the fields listed below and I want to create a column that shows the Points Scored (in Red) by a Team. A fixture will have a Home Team and Away Team and both have a score associated with them that determines the Points Scored, how do I do this so when select a Team it knows how many points is scored?

 

Screen Shot 2020-09-20 at 3.48.22 PM.png

1 ACCEPTED SOLUTION
VijayP
Super User
Super User

@jamieham 
=IF(Team=AwayTeam,Away Team score,homeTeamScore)

 

Hope this will help you. if this is the solution then please mark this as solution and share your Kudoes

Vijay Perepa




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


View solution in original post

2 REPLIES 2
VijayP
Super User
Super User

@jamieham 
=IF(Team=AwayTeam,Away Team score,homeTeamScore)

 

Hope this will help you. if this is the solution then please mark this as solution and share your Kudoes

Vijay Perepa




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


@jamieham 

Thanks! Please Share your Valuable Kudoes as well. Just a click on Thumps up icon near my Post ! Thanks again!




Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
MY Blog || My YouTube Channel || Connect with me on Linkedin || My Latest Data Story - Ageing Analysis

Proud to be a Super User!


Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.