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
NBOnecall
Helper V
Helper V

Relationship Issue

Hi I have the following relationships active in my workbook. I am using Internal ID as the primary key.

Relationship help.png

 

I do not understand why the Average of SalesAmount and Averag of Rolling 30 days isn't being broken out by the LocationID. Each one should have its own unique value.

 

Relationship Disconnect.JPG

Thank you,

Noel

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Create a 4th Table called LocationID and then build a relationship from the LocastionID of the 2 Tables to the LocationID of this new table.  To your visual, drag LocationID from the new table.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
Ashish_Mathur
Super User
Super User

Hi,

Create a 4th Table called LocationID and then build a relationship from the LocastionID of the 2 Tables to the LocationID of this new table.  To your visual, drag LocationID from the new table.

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

@Ashish_MathurThis did the trick. I swear I tried to do this earlier, but a conflict was found with a different table. Nevertheless I am happy to get it resolved.

Good to hear that.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

HI @NBOnecall ,

 

It is summing up for all your values.

Right click on the field and hit on "Do not summarize".

 

Capture8.PNG

 

 

 

Thanks,

Tejaswi

Thank you for the reply, but do not summarize is selected already.

Please share the formula for rolling 30 and rolling 60

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

I thought that might be the issue to, but even just selecting avg sale, still doesn't give the average per locationID

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.