Forum Discussion
Zahur
1 year agoRegular Visitor
Filter Table Visual by EndDate (Inactive Relationship)
Hi all, I have a very simple model and I’m stuck on something that feels like it should be straightforward. Staff table with columns: Person StartDate EndDate Date table with: Active...
- 1 year ago
Shahid12523
1 year agoCommunity Champion
Your Leavers measure works for totals but not row-level filters.
Fix: create a boolean flag measure using the inactive EndDate relationship, then filter the table visual on it:
ShowLeaver =
CALCULATE (
COUNTROWS ( Staff ),
USERELATIONSHIP ( Staff[EndDate], DateTable[Date] )
) > 0
Now in your table visual filter pane → set ShowLeaver = TRUE.
This way only staff with EndDate in the slicer period will appear.