The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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?
Appreciate your help on this. Thank you.
Regards,
Keerthana
Solved! Go to Solution.
@keerthraj , I think you need Market Basket Analysis. Refer
https://www.mssqltips.com/sqlservertip/5428/market-basket-analysis-in-r-and-power-bi/
https://businessintelligist.com/2017/03/27/market-basket-analysis-using-power-bi/
@keerthraj , I think you need Market Basket Analysis. Refer
https://www.mssqltips.com/sqlservertip/5428/market-basket-analysis-in-r-and-power-bi/
https://businessintelligist.com/2017/03/27/market-basket-analysis-using-power-bi/
Hi @amitchandak ,
Thank you for your response. Yes, this would solve the issues I believe.
Regards,
Keerthana
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the June 2024 Power BI update to learn about new features.
User | Count |
---|---|
135 | |
101 | |
89 | |
72 | |
58 |
User | Count |
---|---|
262 | |
120 | |
115 | |
95 | |
82 |