Forum Discussion

arsene49's avatar
arsene49
Helper I
3 years ago
Solved

DAX Column/Measure

Hello,

i'm looking for either column/measure - 
below is the data, i want to know who has won 3 consecutive matches.

 

ex. Batman has won 1 consecutive 3 matches (matchid=5,6,7)
Ozil has won 2 consecutive 3 matches
Rambo 0


expected output in visual - 

Batman - 1
Ozil - 2
Rambo - 0

 

Data - 

MatchIDNameResult

1Batman   L
2Batman   W
3Batman   W
4Batman   L
5Batman   W
6Batman   W
7Batman   W
8Batman   L
1Ozil   L
2Ozil   W
3Ozil   W
4Ozil   W
5Ozil   L
6Ozil   W
7Ozil   W
8Ozil   W
1Rambo   W
2Rambo   L
3Rambo   L
4Rambo   L
5Rambo   W
6Rambo   W
7Rambo   L
8Rambo   L

8 Replies