Forum Discussion
find non-matching values
Hi, I have a dataset with the first 3 columns below and I would like to find out the list of invited companies who did not attend in the 4th column below. May I know how can I achieve that in Power BI? Thanks!
First step is to separate your data into the proper structure
Invited:
Attended:
And then you can use EXCEPT to create your new table
see attached.
6 Replies
- lbendlinSuper User
You do that with the EXCEPT() statement in DAX.
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-p/963216
Please show the expected outcome based on the sample data you provided.
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523- AnonymousNot applicable
Hi, thanks for your reply. I only have 1 table and the sample data are listed in the image in my original post. Except() expression is used to compare 2 tables if I'm not wrong.
- lbendlinSuper User
EXCEPT can compare two table variables, regardless of where these are coming from.
Please provide sample data that fully covers your issue.
Please show the expected outcome based on the sample data you provided.