Forum Discussion
Find & List Unique Values Between Two Columns
I am needing to identify and then list unique values that have been captured in Column A but not in Column B on a separate column. This appears to be a simple process but for some reason i have not found the solution.
Below is a simple illustration, the data set I am working with is much larger +100,000 rows
| Column A | Column B | Solution |
| 2113 | 9986 | 001B |
| 1254 | 7845 | 2856 |
| 001B | 2113 | 4568 |
| 2856 | 1254 | |
| 4568 | 001A |
10 Replies
- AnonymousNot applicable
You can create a new table with:
Table = EXCEPT( values( Table1[Column1]), values( Table1[Column2] ))
Depending on your goals, you could also just use that a table function in a measure, so that it's only called when used.
Also could do this in powery query
- rhcentennialhHelper II
I should have mentioned this previously, I generated/calculated Column A & B from a parent column (Column C).
Is there a way to show the unique values between A & B without creating tables seeing as Column A & B are calculated columns?- AnonymousNot applicable
I dont see why not. Any chance you upload some sample data?