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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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