Forum Discussion
Tiago01oliveira
2 years agoNew Member
VAR Loses Drillthrough Filter After Using ALL
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 ...
vgarciasouza
2 years agoFrequent Visitor
I believe the answer is to use ALLEXCEPT.
Perhaps is:
ALLEXCEPT('Player Details', [Player])
- Tiago01oliveira2 years agoNew Member
I changed the All to ALLEXCEPT and it still has the same effect unfortunately
- Anonymous2 years agoNot applicable
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.