Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Matthias93
Helper III
Helper III

See who is not in a list

Hi,

 

I have a query containing 2 SharePoint lists. One lists contains all members of a group. The second list contains information on their performance, this list only shows a line of information for each member that has had an evaluation. I would however like to be able to see who has not had an evaluation. So basically I need a visual (table), to show me all people who are in the members list, but not in the evaluation list. The Member Name is the common column that can be found in both lists.

 

Can somebody help me with this?

 

Kind regards,

Matt

1 ACCEPTED SOLUTION

Hi Matt

 

You can use Query Editor for this.

 

Go to the Query Editor and Use Merge Queries as New option.

 

Merge Table 1 with Table 2( Include Scores), Select Team Member column in Both the Queries, Use Left Outer Joiin.

 

In the Resulting Query, Filter out all the null score values and delete the score column. This will give you the Team Members not present in the Second Table from the first table.

 

Left Outer JoinLeft Outer JoinFiltering null values after expanding the merged columnFiltering null values after expanding the merged column

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

4 REPLIES 4
apo1979prio
Helper I
Helper I

Table.AddColumn(Step20, "VP"each if (List.Contains({"ZNLD","ZNLM"},[DOC_TYPE]) and 
    List.Contains({"500","699","800","999","PT5","PT6","PT8","PT9"},Text.Middle([#".NIF_Venda"], 33)))  then "E"
else if (List.Contains({"ZNLD","ZNLM"},[DOC_TYPE]) and 
    not(List.Contains({"500","699","800","999","PT5","PT6","PT8","PT9"},Text.Middle([#".NIF_Venda"], 33))))  then "P"
else if List.Contains({"ZTOP","ZREP","ZG2P","ZGCP"},[DOC_TYPE]) then "F"  //Frota
else null)
BhaveshPatel
Community Champion
Community Champion

Hi Matt

 

It would be more appreciated if ypu can post the sample data.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Hi,

 

This is a simplified version of my data-model, but I think it shows the essentials. I would like to be able to see all members that do not have a line in the scoring list.

 

Kr,

Matt

 

Capture.PNG

Hi Matt

 

You can use Query Editor for this.

 

Go to the Query Editor and Use Merge Queries as New option.

 

Merge Table 1 with Table 2( Include Scores), Select Team Member column in Both the Queries, Use Left Outer Joiin.

 

In the Resulting Query, Filter out all the null score values and delete the score column. This will give you the Team Members not present in the Second Table from the first table.

 

Left Outer JoinLeft Outer JoinFiltering null values after expanding the merged columnFiltering null values after expanding the merged column

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.