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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Centaur
Helper V
Helper V

Return Records NOT IN

Hello experts,

 

I have a file:  PmtProposal.xls

I also have 3 excel files:  tbl1, tbl2, tbl3

I need to show the records from PmtProposal that are NOT IN tbl1, tbl2, tbl3

the match criteria is on invoice no and invoice amt (not company name).

 

I am not sure what I am doing wrong but the attached power query is returning records that are both IN and NOT IN.

My production file is thousands of records and the attached is a simple example with only 7 records. 

I attached the Power Query file (link below since I cant attach a file) and the associated files but I think the linked files path would need to be updated in the PQ. 

hyperlink to my OneDrive: PQNotIn.zip 

 

Grateful for the assistance. 

My knowledge of PQ is limited.  

thank you

 

1 ACCEPTED SOLUTION
Centaur
Helper V
Helper V

I see what my issue was.  I applied a lowercase to the invoice number and it changed the format of the column.  After I removed the lowercawe format, the output was correct.  I know PQ is case sensitive so that is why I put that format on the column but in this case it was the cause of the problem.  

 

View solution in original post

1 REPLY 1
Centaur
Helper V
Helper V

I see what my issue was.  I applied a lowercase to the invoice number and it changed the format of the column.  After I removed the lowercawe format, the output was correct.  I know PQ is case sensitive so that is why I put that format on the column but in this case it was the cause of the problem.  

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors