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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
pranshu_07
Frequent Visitor

Next SKU Recommendation for the retailer

SKU Recommendation
Table 1 shows the Total sales in India
RANKX dax is used and visual is made(Not in static table).
IF user will select retailer A, table 2 is shown and based on two tables( Table 1 and Table 2) the next recommended SKU for the retailer is SKU B.
IF user will select retailer B, table 3 is shown and based on two tables( Table 1 and Table 3) the next recommended SKU for the retailer is SKU A.
The table will be dynamic visual and changes when the user changes the selected retailer.
I need a DAX or Logic for the same.Screenshot (22).png

 

3 REPLIES 3
lbendlin
Super User
Super User

IF user will select retailer A, table 2 is shown and based on two tables( Table 1 and Table 2) the next recommended SKU for the retailer is SKU B.

Based on what? price?

Based on the total sales of all retailers i.e. Table 1.

For eg. If user choose Retailer A, he already have SKU C,A and E so the next SKU to recommend the retailer based on the Total sales table(i.e. table 1) is SKU B because its the top ranking sku he dosen't have.

thank you!

All the calculation and process have to based on the sales, no other variable. 

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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