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
dr_anas
Frequent Visitor

Building relations

I need your assistance to fix the relationship between the two tables in the screenshot.

I need to establish a relationship with the bonus table, and I have a fact sales table, but it is arriving many to many, and I need it one to many.

 

Kindly be advised that:

1- Since items might be found in multiple departments, department IDs are duplicated.

2- Because it contains various quantities as a bounce in different months, the item is duplicated.bonus relation PBI.png

2 REPLIES 2
Idrissshatila
Super User
Super User

hello @dr_anas , 

 

in order to help you, we need to understand the logic about the relation between the fact sales and the bonus table.



Did I answer your question? Mark my post as a solution! Appreciate your Kudos
Follow me on LinkedIn linkedIn
Vote for my Community Mobile App Idea

Proud to be a Super User!




The logic goes like this: the number of bonuses quantities for each item over the date has to be computed. Each item has a bonus with zero value quantities sold throughout the year.

I wish it is clear now If not, please let me know so that I can clarify more.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

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

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.