Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
I have one colum in a table for emplyee names (data base), and another table contains the same employes names (manual entry). I want to check if there was any mismatch between them.
I was thinking using measure = Countrows(Filter(Table1,Table1[colum1]<>Table2[column2].
but Filter function only works in a single table. What should my approch be? Thanks
Solved! Go to Solution.
Hi @Anonymous ,
I created some data:
Table1:
Table2:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
MAX('Table1'[column1])=
LOOKUPVALUE(
'Table2'[column2],'Table2'[employes names],MAX('Table1'[employes names])),"match","mismatch")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @Anonymous ,
I created some data:
Table1:
Table2:
Here are the steps you can follow:
1. Create measure.
Measure =
IF(
MAX('Table1'[column1])=
LOOKUPVALUE(
'Table2'[column2],'Table2'[employes names],MAX('Table1'[employes names])),"match","mismatch")
2. Result:
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hello @Anonymous ,
An other approach could be to create a calculate column where you know the values are correct(Tablereference).
Hi @Anonymous
please try
=
COUNTROWS ( EXCEPT ( VALUES ( Table1[colum1] ), VALUES ( Table2[column2] ) ) )
Thanks! is there a function I can use to display the mismatch as well?
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
11 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
12 | |
11 | |
11 | |
11 |