Forum Discussion
Gopinath_iyer
Helper II
3 years agocomparing two excel files
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 l...
- 3 years ago
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
Shaurya
Memorable Member
3 years agoHi 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