Hi. Where did the value 94,699.85 come from? I don't see it in the crosstab image.
Access Crosstab Query
I have the following crosstab query in Access. Is there a way to calculate the percentages for each Order Type by Fiscal Year (i.e., 2018, 2019, etc.)?
Example: Order Type "18" for Fiscal Year 2018 = 21,973.55. This would be 23.2% of 2018 Total or (21,973.55/94,699.85).
Thanks
2 answers
Sort by: Most helpful
-
-
Ken Sheridan 2,841 Reputation points
2021-05-10T21:51:08.02+00:00 In a conventional aggregating query that would be done by dividing the SUM per order type per accounting year by the result of a correlated subquery which returns the SUM for the accounting year currently returned by the outer query. However, I don't believe that it is possible to do this in the TRANSFORM clause of a crosstab query.