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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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 Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors