Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi, I have a data set with list of sports teams and their actions during a game. I have a column for team and a column for their opposition and a calculated measure for number of tackles. Is there a calculated measure I can create that would show the opposition tackles for any given team instead of having to use them in seperate tables as seen below?
Solved! Go to Solution.
Hi @jimmymartin ,
According to your description, in my understanding, there're two tables in your sample,
Team table:
Opposition table:
Then create a measure to extrat the tackles of the opposition team, if this is the case, here's my solution, use the lookupvalue-function to create a measure.
Opposition Tackles =
LOOKUPVALUE (
Opposition[Tackles],
'Opposition'[Oppositon], MAX ( 'Team'[Team] )
)
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jimmymartin ,
According to your description, in my understanding, there're two tables in your sample,
Team table:
Opposition table:
Then create a measure to extrat the tackles of the opposition team, if this is the case, here's my solution, use the lookupvalue-function to create a measure.
Opposition Tackles =
LOOKUPVALUE (
Opposition[Tackles],
'Opposition'[Oppositon], MAX ( 'Team'[Team] )
)
Get the result.
I attach my sample below for reference.
Best Regards,
Community Support Team _ kalyj
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@jimmymartin , the best is to create a common dimension
refer to my blog on the same topic https://medium.com/@amitchandak/power-bi-when-i-asked-you-to-create-common-tables-a-quick-dax-soluti...
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 40 | |
| 36 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 38 | |
| 34 | |
| 23 |