Forum Discussion

smcknezie04's avatar
smcknezie04
Frequent Visitor
2 years ago

Related function returns unexpected results

I'm trying to find the remaining hours available (Hours Remaining) by subtracting "Total Hours" in the CDTLaborView table from "Total Hours Allocated" in the Financials table using the following:

Hours Remaining = Related(Financials[Total Hours Allocated]) - CDTLaborView[Total Hours]

The results were not as expected (see below) so I tried using just the related function (Hours Allocated Check) and realized its not working the way I expected.

What am I doing wrong, whats the fix or is there a better way?

 

Total Hours AllocatedTotal HoursHours RemainingHours Allocated Check
3,6212,7633,089,2063,091,969
1,032795359,530360,325
958703263,774264,478

 

 

8 Replies