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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
tweidner
Helper I
Helper I

Check if a value is available for all entries in other column / Intersect?

Hi there,

 

I'm currently looking at quotes received from suppliers for various products. 

 

What I'm failing is to create a new column or measure to identify the products each of the suppliers have quoted for.

 

SupplierProductCalculated Intersection
A2 
A44
A5 
B44
B2 
C44

 

Any ideas?

 

Can the soltuion be probably enhanced by adding a filter on Supplier in order to determine column entries to be evaluated in the 3rd column / or a measure?

 

Best Regards

Tobias

2 REPLIES 2
amitchandak
Super User
Super User

@tweidner , create new column

 


new column =
var _dis = distinctcount(Table[Supplier])
var _disp = calculate(distinctcount(Table[Supplier]), filter(Table, [product] = earlier([product])))
return
if(_dis = _disp =, [product], blank())

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

@amitchandak , sorry, but dax just returns blanks... Did I overlook something?

 

Combination =
var _dis = distinctcount( 'Filter Prices'[SUPPLIER])
var _disp = calculate( distinctcount( 'Filter Prices'[SUPPLIER]), filter( 'Filter Prices', 'Filter Prices'[MM] = earlier('Filter Prices'[MM])))
return
if( _dis = _disp , 'Filter Prices'[MM], blank())

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.