How do I do the equivalent of the following SQL code in a DAX measure:
selectdistinct(Table1.Client)
from Table1
where Table1.Product='AUTO'AND Table1.InsuranceCompany='AMCO'
INTERSECT
selectdistinct(Table1.Client)
from Table1
where Table1.Product ='FIRE' AND Table1.InsuranceCompany ='Allied P & C Ins. Company'
Another piece is that I don't want to hard code values. I want Product and InsuranceCompany fields to be slicers.
Thanks in advance.