Forum Discussion
vinaydavid
Helper III
6 years agoExcept function with a filter - unlogged employees
Hi All, Want to achieve the below result from the 2 unrelated tables. Table 1 - Logged employees list with logdate Table 2 - Complete list of employees (without logdate) Everyday I get a li...
v-xicai
Community Support
6 years agoHi vinaydavid ,
You may create a new calculated table like DAX below.
Expected result= EXCEPT (VALUES ('Table 2'[Emp]), VALUES ('Table 1'[Emp]))
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
vinaydavid
Helper III
6 years agoTable 1 contains history. So, is it possible to restrict using FILTER in EXCEPT?
Tried using the measures you suggested, but not successful.
How are these measures cross checking Table2?
NOTE: There is no relation between Table1 and Table2. Avoided because of other calculations.
- amitchandak6 years ago
Super User
vinaydavid , Try
Measure = CALCULATE(COUNTX(filter(Table2,Table2[Emp] in EXCEPT(ALL(Table2[Emp]),ALL('Table 1'[Emp]))),[Emp]))