Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
The champion in this case is the 75 Sabres for having attained 4 wins in the Final Round. How do I create a separate column declaring the team with 4 total wins in the final round the champion?
Something like... If(Calculate(Sum(Database[Win]), Database[Round] = "final") = 4 for a given year, then Champion, N/A)
It's how to get that 4 for a given year in there that is given me an issue. Any thoughts? The Chart is below for any reference.
Year | Game | Team | Opponent | Win | Loss | Tie | Stage | Round |
2005 | 67 | 75 Sabres | 82 Islanders | 1 | R16 | Final | ||
2005 | 67 | 82 Islanders | 75 Sabres | 1 | R16 | Final | ||
2005 | 64 | 75 Sabres | 82 Islanders | 1 | R16 | Final | ||
2005 | 64 | 82 Islanders | 75 Sabres | 1 | R16 | Final | ||
2005 | 63 | 75 Sabres | 82 Islanders | 1 | R16 | Final | ||
2005 | 63 | 82 Islanders | 75 Sabres | 1 | R16 | Final | ||
2005 | 69 | 75 Sabres | 82 Islanders | 1 | R16 | Final | ||
2005 | 69 | 82 Islanders | 75 Sabres | 1 | R16 | Final |
Solved! Go to Solution.
@bw70316 try this measure (NHL Fan) 🏒🏒
Measure =
VAR __wins = CALCULATE ( SUM ( Table[Wins] ), ALLEXCEPT ( Table, Table[Team] ), Table[Round] = "Final" )
RETURN
IF ( __wins = 4, "Champion", "N/A" )
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@bw70316 try this measure (NHL Fan) 🏒🏒
Measure =
VAR __wins = CALCULATE ( SUM ( Table[Wins] ), ALLEXCEPT ( Table, Table[Team] ), Table[Round] = "Final" )
RETURN
IF ( __wins = 4, "Champion", "N/A" )
I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
That solution worked, but I'm trying to have one row for champion for each year. Or I could do something like Final Wins - Final Losses where
2006 | 131 | 96 Panthers | 06 France | 1 | R16 | Final | O | 3 | 96 Panthers | 06 France | N/A | |||
2006 | 129 | 96 Panthers | 06 France | 1 | R16 | Final | O | 1 | 06 France | 96 Panthers | N/A | |||
2006 | 129 | 06 France | 96 Panthers | 1 | R16 | Final | O | 1 | 06 France | 96 Panthers | Champion | |||
2005 | 68 | 82 Islanders | 75 Sabres | 1 | R16 | Final | O | 6 | 75 Sabres | 82 Islanders | N/A | |||
2005 | 68 | 75 Sabres | 82 Islanders | 1 | R16 | Final | O | 6 | 75 Sabres | 82 Islanders | Champion | |||
2005 | 67 | 75 Sabres | 82 Islanders | 1 | R16 | Final | O | 5 | 82 Islanders | 75 Sabres | Champion | |||
2005 | 67 | 82 Islanders | 75 Sabres | 1 | R16 | Final | O | 5 | 82 Islanders | 75 Sabres | N/A | |||
2005 | 66 | 82 Islanders | 75 Sabres | 1 | R16 | Final | O | 4 | 75 Sabres | 82 Islanders | N/A |
@bw70316 In ALLEXCEPT funtion, add year into it, that will work by year.
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
84 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
99 | |
87 | |
68 |