a Crosstab Query changes my fields when I add another calculations.

I have a query that looks like this:

So To show them grouped together I made a crosstab like this:
cWhen I add this calcualtion:Completion Percentage: Format([Quantity]/20,"Percent")I get this:

How do I do this calculation and keep it like examle 2?
Who is Participating?
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.

It would be best if you could include a sample file with this.
I think the problem is that in the original query you have "Total of Quantity", which I believe is SUM([Quantity]). In your calculated column you use [Quantity]/20, which ungroups the query.

I think you need to change it to SUM([Quantity])/20 (please note the actual aggregate function needs to be used as it is in your Query). If it does not work, provide us with the actual SQL query used for Crosstab, and we will help
gigifarrowAuthor Commented:
Sorry again here is a example.

I want it to take the total and divide by the scope

MOD KIT M2 M7 M3 Total Completion Percentage
AFES         2   3     6     11            7%
Here is the working example. The trick is to use Sum([Quantity]), and change the 'Total' to 'Expression'

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
gigifarrowAuthor Commented:
Thank you for your time!! Great Job
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.