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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
CowsHateMilk
Frequent Visitor

DAX EXCEPT() with Filters

Hi all,

I've very recently gotten into powerbi. I'm trying to find the rows of a table that don't already exist in another, based on some slicers that will be on the dashboard.

I have a database with Buyers, Vendors, as well as some transaction info. A Buyer will only buy one type and quality of fruit, whereas Vendors may sell a variety of fruits and qualities. I essentially want to answer the question, "As a Buyer, which Vendor that you have not worked with before most likely be carrying your fruit + quality of choice?"

I've attached sample data as well as screenshots. Based on the screenshots, my desired output would be an except run between the two tables, and return the following:

VendorDistinct Count of TransactionID (Number of times Vendor has provided fruit + quality)
Vend22
Vend32


Link to download sample pbix file
https://drive.google.com/file/d/1vdPnu8_HTX4tMEHTK8YawX6e7G3_C5QP/view?usp=sharing 
Thanks in advance for the help! 

CowsHateMilk_0-1705689388303.png

Sample Data:

BuyerVendorDateItemQualityTransactionID
BuyAVend101-01-22OrangeMedium1
BuyAVend201-01-22OrangeMedium1
BuyAVend301-01-22OrangeMedium1
BuyBVend101-02-22AppleGood2
BuyBVend401-02-22AppleGood2
BuyCVend101-02-23OrangeBad3
BuyCVend201-02-23OrangeBad3
BuyCVend301-02-23OrangeBad3
BuyCVend401-02-23OrangeBad3
BuyCVend501-02-23OrangeBad3
BuyDVend201-03-23OrangeMedium4
BuyDVend301-03-23OrangeMedium4
BuyDVend401-03-23OrangeMedium

4

 

1 ACCEPTED SOLUTION
Daniel29195
Super User
Super User
4 REPLIES 4
Daniel29195
Super User
Super User

Hi there,

 

Apologies for the late response. Greatly appreciate your help here!

Daniel29195
Super User
Super User

hello @CowsHateMilk 

can you please give access to the power bi pbix file .

Daniel29195_0-1705705610488.png

 

Apologies I've updated the link. Thank you!

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

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
Top Kudoed Authors