The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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!