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
KushGupta123
Frequent Visitor

Subtracting two tables

I have a table "Supplier_Entity" and it has two colums Seller_id and Supplier_Name, there is this another table out_of_network_suppliers having same columns.  Supplier_Entity= out_of_network_suppliers+ in_network_suppliers. "in_network_supplier" is not a table, how do I get the data for in_network_supplier. Basically how do I remove the out_of_network_suppliers data from Supplier_entity in order to get desired data.

1 REPLY 1
v-easonf-msft
Community Support
Community Support

Hi, @KushGupta123 

You are referring to returning the rows of the first table in the expression which do not appear in the second table,

please try  table manipulation functions 'EXCEPT'.

https://learn.microsoft.com/en-us/dax/except-function-dax 

 

Best Regards,
Community Support Team _ Eason

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.