Forum Discussion
EXCEPT not working
- 3 years ago
Hi Anonymous ,
In the sample pbix you provided, although the columns are identical in both tables, none of the rows in TABLE (2) match what is in TABLE. Thats why the except is returning all the rows from TABLE (2).
All the values in the row have to match for it to be excluded.
for example, in your pbix file, even though column3 in TABLE has ijk and Column 3 in Table(2) has ijk, column1 and column2 of TABLE dont match what is in TABLE (2) for that same row. So it is not considered a match.
When I changed the source table so they matched, you can see that the Difference Table now shows that row as excluded.
What is your expected output? That would help in coming up with a solution.
Hi Anonymous ,
In the sample pbix you provided, although the columns are identical in both tables, none of the rows in TABLE (2) match what is in TABLE. Thats why the except is returning all the rows from TABLE (2).
All the values in the row have to match for it to be excluded.
for example, in your pbix file, even though column3 in TABLE has ijk and Column 3 in Table(2) has ijk, column1 and column2 of TABLE dont match what is in TABLE (2) for that same row. So it is not considered a match.
When I changed the source table so they matched, you can see that the Difference Table now shows that row as excluded.
What is your expected output? That would help in coming up with a solution.
Thanks. That does explain why it is behaving absurdly. Now I can fiddle around with my orginial pbix. Regards.