Tables Summing Budgets Incorrectly
Content
Hello,
I'm created some custom columns based on Case When Statements to calculate our budgets. I've tried both of the case statements below, but the column/pivot tables are summing incorrectly. Does anyone have any idea why?
We are using this instead of annualized as our 0 hour employee's have an annualized pay that is full time.
CASE WHEN "Worker"."Normal Working Hours" = '0' THEN 5 ELSE "Worker"."Normal Working Hours" END * 52 * "Salary"."Current Salary"
CASE WHEN "Worker"."Normal Working Hours" = '0' THEN 5*52*"Salary"."Current Salary" ELSE "Worker"."Normal Working Hours"* 52 * "Salary"."Current Salary" END