Problem with RELATED function

MsDSmith

New Member
Joined
May 11, 2010
Messages
4
After struggling with this for two days I'm turning it over to the experts.

I have two relatively simple tables in PowerPivot. Table 1 has labor costs by project and table 2 has the fringe rates for each project. I would like to add a calculated column to table 1 that shows the fringe cost, which is calculated by multiplying the labor cost (table 1) by the fringe rate for that project (table 2). I thought it would be simple but I keep getting a blank column. I am certain that the text in the relationship column matches exactly (it is an alpha-numberic id code). The columns with the relationship are defined and formatted as text. The columns being used in the calculation as well as the calculation column itself are defined as decimal number. I have tried everything including starting a new PowerPivot from scratch. Every time I am getting the same result - a blank column. The formula I'm using is:

RELATED('Project Fringe-Indirect Rates'[Fringe Rate])*'Job Cost Data'[MeasuresTotal Cost]

I couldn't figure out how to upload an image of the tables so I'm hoping you can go off of what I've posted. I believe the problem is with the relationship because even when I simply use the RELATED function to pull in data from any column in table 2, I'm getting blanks. I just can't figure out what the problem is. What are the problems/mistakes that could cause this to happen?

Any and all suggestions are very much appreciated.
 
Having the same problem with PowerPivot. I have a table that is linked to an SQL server, and all its RELATED formulas return blank. The only way I have found to fix this is to delete the relationship, and then create the relationship again.

So now every time I want to refresh the data, I have to delete every relationship and create them all again. Not cool.
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,636
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top