Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
The title may be a bit confusing but i have 2 pages, a club page that drills through to a player page with more information, this drill through uses Player ID, from table Player Details. I then have a measure (Selected Player ShotsOnTarget)that captures the shots on target for that specific player simply using Sum('Shooting GW'[Shots on Target]), then using a separate table (Graph Table) i have all players and their shots on target (SOT Similarity) which allows the comparison to find players with similar shots on target and ignore the drillthrough filter.
I believe the answer is to use ALLEXCEPT.
Perhaps is:
ALLEXCEPT('Player Details', [Player])
I changed the All to ALLEXCEPT and it still has the same effect unfortunately
Try the following measure.
Similar Players Metric =
VAR SelectedPlayerShots = [Selected Player ShotsOnTarget]
VAR LowerBound = SelectedPlayerShots * 0.9
VAR UpperBound = SelectedPlayerShots * 1.1
RETURN
CALCULATE (
IF (
AND (
SUM ( 'Graph Table'[SOT Similarity] ) >= LowerBound,
SUM ( 'Graph Table'[SOT Similarity] ) <= UpperBound
),
1,
VALUE ( SelectedPlayerShots )
),
ALLSELECTED ( 'Player Details' ),
'Player Details'[ID] IN VALUES ( 'Player Details'[ID] )
)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
115 | |
74 | |
57 | |
47 | |
39 |
User | Count |
---|---|
167 | |
118 | |
61 | |
58 | |
50 |