Forum Discussion
Filter fact based on another fact
Rows from which table do you really want to see? Let's say you drop on your visual columns from dPolicy. Then you have a slicer set to some company name. Then you filter the rows of the table via Filter Pane using this measure:
[Should Display Policy?] = 1 - ISEMPTY( fPolicies )
and the condition is WHEN [Should Display Policy?] = 1.
I want to return all rows with same coverage as the filtered company. I'm aware of the Check Emplty Table COndition by SQLBI, but it does not seem to solve the issue.
We have 100 policies. Company A have 10 policies.
We have 50 policies with identical coverage as Company A. I want the measure to return 50 when filtering Company A.
We count policies in fPolicies and we can see the coverage in dCoverage which is related to fCoverages, but not fPolicies. dCompany and dPolicy are both conformed dimension that relates to both facts.