In general, I have data on user costs, where users are in the rows, and in the columns of the month.
I need to add up both in rows and columns to get the total amount.
I use this query: (SUM(CAST(Replace([Колонка 1], '$','') as FLOAT))+SUM(CAST(Replace([Колонка 2], '$','')
, but adding the third column is NULL. The data is in text form ($ 100.00), so I replace them with a numeric one.
What could be the problem when calculating the entire amount? Prompt, please, the correct request.
coalesce(sum(...),0)+coalesce...
- Mike