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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

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

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.