Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
Hi,
I am looking for soultion for this case.
Assume I have two tables like this :
| Table1 | Table2 | ||||
| Id | Name | Id | Value | ||
| 1 | Adam | 5 | 40 | ||
| 2 | John | 6 | 45 | ||
| 3 | Peter | 3 | 55 | ||
| 4 | Megan | 4 | 42 |
What I would like to get is table table one to be filtered out with ID values from table2 . ( In sql I would use "ID is not in" )
So my result will be :
| Id | Name |
| 1 | Adam |
| 2 | John |
So values with IDs 3 and 4 are filtered out becasue they exist in column Id of table2
Solved! Go to Solution.
Hi @Marcin
You can create a new calculated table:
NewTable = FILTER ( Table1, NOT Table1[Id] IN DISTINCT ( Table2[Id] ) )
Hi @Marcin
You can create a new calculated table:
NewTable = FILTER ( Table1, NOT Table1[Id] IN DISTINCT ( Table2[Id] ) )
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 69 | |
| 56 | |
| 45 | |
| 42 | |
| 30 |