Forum Discussion
Unexpected Cross-Filtering Results
Hi all,
Struggling with why one of my filters isn't working as expected - Would appreciate any help!
I have three tables:-
| Table 1 |
| Staff ID |
Office Visits |
| Visit Date |
| Location |
| Table 2 |
| Effective Hours (%) |
Staff ID |
| Table 3 |
| Staff ID |
Work Category |
Tables 1 and 3 are both joined to Table 2 with a many to one relationship on 'Staff_ID' and have both way cross filtering enabled.
Table one only records data about Staff who have visited the office, and I've used the following to create an additional column on Table 2, to show which members of staff have visited the office and which haven't:
3 Replies
- bcdobbs
Community Champion
Hi Paul,
I think the logic on your WFO column is the wrong way round. Eg it returns "Y" for id's not found in table 1.
Then because you have a bidirectional
relationship and:
"Table one only records data about Staff who have visited the office"
The moment table 1 is included in filter context you only get staff who have worked in office (but are labelled wrongly).
If you want to share a demofile can help rebuild.
- v-zhangti
Community Support
Hi PaulBoden ,
Can you provide simple data from three tables for testing? The output you expect can also be shown graphically. Looking forward to your reply.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- PaulBoden
Helper I
Thanks all for the replies (and bcdobbs for helping me identify the ordering mistake!).
The data is sensitive so I haven't been able to share but when I have time over the weekend I'll recreate the scenario with mock data to share - I'd be very appreciative of any guidance so that I can avoid similar issues in future.