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.
Hi,
I am having below dataset
I would like to identify number of matches played by every winning team. Please note winning team can be part of Team 1 OR team 2. So if I calculate number of times winner appears in the team1 or team2, I should get the answer.
I am looking for Match_count field of below dashboard
Solved! Go to Solution.
Dear @Zubair_Muhammad, Thanks again for your help. It's indeed almost perfect solution 🙂
I made minor changes as I could not get SELECTEDVALUE function. Rest is all good.
Match Count of Winner Team =
VAR winnerteam =
SELECTCOLUMNS( matches,"winner2",matches[winner])
RETURN
CALCULATE ( COUNTROWS ( ALLSELECTED ( Matches ) ), Matches[Team1] = winnerteam )
+ CALCULATE ( COUNTROWS ( ALLSELECTED ( Matches ) ), Matches[Team2] = winnerteam )
HI @ajinkya1907
Try this MEASURE
Median = MEDIANX(ALLSELECTED(matches[winner]),[Matches Played])
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 |
---|---|
113 | |
99 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |