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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.