In Power Bi, I'd like a measure to get share of a group total for each element in that group. For example,
| Player | Team | Goals |
|---|---|---|
| Rooney | MU | 3 |
| Ronaldo | MU | 2 |
| Rashford | MU | 5 |
| Crouch | SP | 5 |
So for Ronaldo, it would be 20% as it's his goals / team total
Crouch would be 100% etc
How could I do this in DAX?
