Hello, I am having an issue with my attempt to create a formula column in my query table. I'm combining two tables and would like the sum of the X&Y column to appear in Column Z. I'm finding that if either column X or Y is blank column Z will be empty as well.
I understand it would need a step where empty cells in columns X and Y need to be converted to zero but I'm unsure how to do it.
SELECT
"2022 Retail Revenue - By Day - ST"."Year",
"2022 Retail Revenue - By Day - ST"."Period",
"2022 Retail Revenue - By Day - LS"."Total",
"2022 Retail Revenue - By Day - ST"."Total Revenue",
"2022 Retail Revenue - By Day - ST"."Completed Jobs",
"2022 Retail Revenue - By Day - ST"."2023 Goals",
"2022 Retail Revenue - By Day - ST"."Total Revenue" + "2022 Retail Revenue - By Day - LS"."Total" as "TOTAL$$"
FROM "2022 Retail Revenue - By Day - LS"
RIGHT JOIN "2022 Retail Revenue - By Day - ST" ON "2022 Retail Revenue - By Day - ST"."Period" = "2022 Retail Revenue - By Day - LS"."Period"
Outcome: