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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
keerthraj
New Member

Unique value combinations of 2 columns from different tables

Hi Team,

 

I have 2 tables that consists of product type information.  

 

Table 1 contains the field "Product Type". Table 2 has the field "Product Bought Together".  "Frequency Bought Together" is a DAX measure that shows the numer of times products from column 1 is bought with products from column 2. 

 

But, as you can see in the table, the product combinations appear in duplicates. E.g. Product 5 & Product 9 on row 1, and Product 9 & Product 5 on row 2, where both the rows have one unique combination of the products with a unique frequency value.

 

I just want to display the top 5 unique product combinations, instead of them appearing twice. Is there a way to do this using DAX? 

Product Combination.JPG

 

Appreciate your help on this. Thank you.

 

Regards,

Keerthana

1 ACCEPTED SOLUTION
2 REPLIES 2

Hi @amitchandak ,

 

Thank you for your response. Yes, this would solve the issues I believe.

 

Regards,

Keerthana

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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