Part of my Access Database has two fields that I want to work on: [Models] and [Gross]
[Models] has a drop down list with ( “A”, “B”, “C”, etc,) options. And the [Gross] field has Currency as a data type.
How can I get a breakdown of the total Gross of each individual model? An example of my Query looks something like this:
Model……………….Gross
A……………………….150.00
A……………………….200.00
B……………………….375.00
C……………………….400.00
C……………………….100.00
When I use this expression considering only Model “A”,
Code.
I get the count of the number of records that the Model “A” has, which is 2. Instead, my intension is to get the total Gross amount of it, which is $350.00.
If anyone can help me on this, will be greatly appreciated
[Models] has a drop down list with ( “A”, “B”, “C”, etc,) options. And the [Gross] field has Currency as a data type.
How can I get a breakdown of the total Gross of each individual model? An example of my Query looks something like this:
Model……………….Gross
A……………………….150.00
A……………………….200.00
B……………………….375.00
C……………………….400.00
C……………………….100.00
When I use this expression considering only Model “A”,
Code.
Abs(Sum(.[Gross] And (
.[Model]="A"))) AS [Total A Gross]
I get the count of the number of records that the Model “A” has, which is 2. Instead, my intension is to get the total Gross amount of it, which is $350.00.
If anyone can help me on this, will be greatly appreciated