Access - Grand Total Column in Crosstab Query

Please offer if there is a way for me to include a Grand Total for the column field in a crosstab quert - Access 2013.

I am able to calculate totals (based on counts) for rows, but not columns.

Thank you.
exp vgAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

John TsioumprisSoftware & Systems EngineerCommented:
If you use it for a report then you can use this approach to get the desired result...
If you want it as a query then probably you want to create another query that uses crosstab as its source and manipulate it accordingly.
Dale FyeOwner, Developing Solutions LLCCommented:
Yes, you can create a "Totals" column by simply adding a field to the query grid, setting it up as a rowHeader

Field:   Row Total: [yourField]
Table:  tablename
Total:   Sum
Crosstab: Row Heading

However, this column will by default show up to the left of the values in your "Value" column (matrix).  But when you display this a report, you can move that column to the far right side of the report.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
exp vgAuthor Commented:
This is also from Design View please. Thanks.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Dale FyeOwner, Developing Solutions LLCCommented:
Yes, that is from the query grid.

if you provide some sample data, I could set it up for you.
exp vgAuthor Commented:
The step you offered I can do. Please let me clarify - this will create a separate totals column across the row, but how can I add a separate Grand Total row at the bottom of all rows in the query?

Hope this makes sense.
PatHartmanCommented:
You would need a union query to do that.  However, it would appear that you are making the mistake of thinking of a query as though it were a report.  It is not.    If you want to make a report out of a crosstab, the best option is  to export to Excel and add totals there.  Or, create a report.  The report can be problematic if the columns aren't fixed but there are ways.  www.fmsinc.com offers a sample database that shows how to build a variable report.  They also have many interesting articles and excellent tools.
exp vgAuthor Commented:
Thank you.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.