I would like my generic inquiry to include a variance column for our labor hours. The problem I am running into is that the inquiry doesn’t return a negative number when the “To Date” amount is less than the “Est Labor Hrs”. (Ex. 673.05-1,358.00 should return -684.95 so we can see the difference)

This is the current formula I am using for the +/- hours column: =IIf([PMBudget.Type]='E' AND [PMAccountGroup.GroupCD]='LABOR', [PMBudget.ActualQty]-[PMBudget.Qty], 0)
I am also using these formulas to get my estimated and to date labor hours.
Estimated Labor Hrs: =IIf([PMBudget.Type] = 'E' AND [PMAccountGroup.GroupCD] = 'LABOR', [PMBudget.Qty], 0)
To Date Labor Hours: =IIf([PMBudget.Type] = 'E' AND [PMAccountGroup.GroupCD] = 'LABOR', [PMBudget.ActualQty], 0)
I know the within the projects the balances tab shows a variance amount, has anyone figured out how to replicate this in their own generic inquiry?