Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hi
I have two excel files EMP (has duplicates) and Master (unique rows) but number of columns are not same in both the files.
Both data has emp number as common field and I want to find the list of employees present in EMP and not present in Master and vise versa.
Can this be achieved?
regards,
Gopi
Solved! Go to Solution.
Hi @Gopinath_iyer,
You can use the following formulas:
Distinct Emp Count = DISTINCTCOUNT(Emp[ID])
Emp not in Master = [Distinct Emp Count] - CALCULATE(Emp[Distinct Emp Count],FILTER(Emp,Emp[ID] IN VALUES(Master[ID])))
Result:
Works for you? Mark this post as a solution if it does!
Consider taking a look at my blog: Forecast Period - Graphical Comparison
Hi @Gopinath_iyer,
You can use the following formulas:
Distinct Emp Count = DISTINCTCOUNT(Emp[ID])
Emp not in Master = [Distinct Emp Count] - CALCULATE(Emp[Distinct Emp Count],FILTER(Emp,Emp[ID] IN VALUES(Master[ID])))
Result:
Works for you? Mark this post as a solution if it does!
Consider taking a look at my blog: Forecast Period - Graphical Comparison