March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
I have 2 tables, Table 1 and Table 2 , Both has different structure and i am trying to find the list of users from table 2 who are not in table 1. I have merged the tables, but unable to figure it out. Any help would be highly appreciated.
Thanks,
Pinky
Solved! Go to Solution.
HI @Pinky0404
There are a few ways you can do this.
In DAX you can use the EXCEPT function to generate that as a list.
https://msdn.microsoft.com/en-us/library/mt243784.aspx
You can create this a as a calculated table if you prefer something like,
New Table = EXCEPT( SELECTCOLUMNS(TableA , "UserID" , [UserID]) , SELECTCOLUMNS(TableB , "UserID" , [UserID]) , )
That approach will give you a list of Users that appear in TableA, but don't appear in TableB
Otherwise try a Left outer join in Power Query.
You can try using a Left Anti merge, starting with Table 2. This will show you records that exist in Table 2 that do not exist in Table 1 based on whatever field relates the two tables.
HI @Pinky0404
There are a few ways you can do this.
In DAX you can use the EXCEPT function to generate that as a list.
https://msdn.microsoft.com/en-us/library/mt243784.aspx
You can create this a as a calculated table if you prefer something like,
New Table = EXCEPT( SELECTCOLUMNS(TableA , "UserID" , [UserID]) , SELECTCOLUMNS(TableB , "UserID" , [UserID]) , )
That approach will give you a list of Users that appear in TableA, but don't appear in TableB
Otherwise try a Left outer join in Power Query.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
86 | |
77 | |
57 | |
52 |
User | Count |
---|---|
201 | |
137 | |
108 | |
73 | |
68 |