Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi,
I need help in counting the matching values in two different tables.
Table 1= Users
Column1 | Column2 | Phone |
aaa | ttt | 1234 |
aas | rrr | 2345 |
abb | eee | 3456 |
aaf | ffff | 3456 |
Table 2= New Users
Phone |
1234 |
2345 |
The end result should be 2 as there are only two matching values in the first table
Solved! Go to Solution.
Hi @deedeedudu ,
Create a measure like below:-
Measure =
COUNTROWS ( FILTER ( Users, Users[Phone] IN DISTINCT ( 'New Users'[Phone] ) ) )
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
Hi @deedeedudu ,
Create a measure like below:-
Measure =
COUNTROWS ( FILTER ( Users, Users[Phone] IN DISTINCT ( 'New Users'[Phone] ) ) )
Thanks,
Samarth
Best Regards,
Samarth
If this post helps, please consider accepting it as the solution to help the other members find it more quickly.
Appreciate your Kudos!!
Connect on Linkedin
try and see the detail of INTERSECT Function
Did I answer your question? If so, please mark my post as a solution!
Proud to be a Super User!
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.