I thought this would be simple. I am trying to divide each unique value in a column by the total column; so sales by total sales . . what am I doing wrong, please?
I thought this would be simple. I am trying to divide each unique value in a column by the total column; so sales by total sales . . what am I doing wrong, please?
Give your Sum([Sales]) a name (alias) like TotalSales:Sum([Sales]).
Save your query and create another one based on this, where columns are not calculated any more, they are plain numbers. There you can perform your division.
If you really want to calculate sales percentage of total you should use:
You're right AlexN - I really am thinking Excel. I've only used Excel for the past few years and I am having a tough time separating the two . . will keep trying.
Rule number 1 for making the transition from excel to access, a spreadsheet is totaly different from any database. When working in access, forget all you think you know about excel and start from scratch.