G
Guest
Hello,
I have twelve columns. In each column, I use an expression to calculate
revenue for a month. Is there a way to add another expression that sums
certain columns? Basically, I want to add a subtotal every three months for
"quarter" total and then sum all twelve of the columns for a total for the
year.
Can I do this in the same query or would it be better to create a new query
that calls the first one? Or maybe even have the first query create a
temporary table and build the final query off that table (does that make
sense)?
Thanks!
-Nick
I have twelve columns. In each column, I use an expression to calculate
revenue for a month. Is there a way to add another expression that sums
certain columns? Basically, I want to add a subtotal every three months for
"quarter" total and then sum all twelve of the columns for a total for the
year.
Can I do this in the same query or would it be better to create a new query
that calls the first one? Or maybe even have the first query create a
temporary table and build the final query off that table (does that make
sense)?
Thanks!
-Nick