Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
I have 3 tables below
Table 1
| ID | |
| 1 | abc@contoso.com |
| 2 | xyz@contoso.com |
| 3 | test@contoso.com |
| 4 | 123@contoso.com |
| 5 | 321@contoso.com |
Table 2
| ID | |
| 1 | abc@contoso.com |
| 2 | 321@contoso.com |
Table 3
| ID | |
| 1 | 123@contoso.com |
| 2 | aaa@contoso.com |
Tables 2 and 3 have a relationship with Table 1 on email. I want to create a measure to get the count of emails from Table 1 which have matching emails in Table 2 and Table 3. In the above scenario, the measure should return 3.
Solved! Go to Solution.
Hi,
MailCount =
CALCULATE(
COUNT('Table 1'[Email]),
'Table 1'[Email] IN VALUES('Table 2'[Email]) ||
'Table 1'[Email] IN VALUES('Table 3'[Email])
)
Hi,
MailCount =
CALCULATE(
COUNT('Table 1'[Email]),
'Table 1'[Email] IN VALUES('Table 2'[Email]) ||
'Table 1'[Email] IN VALUES('Table 3'[Email])
)
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.