D
deiopajw
I have the following table and its fields:
tbl_Products:
ProductName (text)
SqM (number)
Thickness (number)
Report (rpt_product) has been setup where it is sorted by Productname.
Essentially, the report is set up to show only the SqM totals for EACH
product group in the Thickness footer only.
ie:I'm only using ONLY the Thickness Footer to get the total for each
individual group type result.
Product SqM
A 11.70
A 11.70
A 108.72
A 16.20
A 9.90
A 39.42
total for A = 197.64 <----- this is the only thing that shows in the report
which is what i want. The same for B
The formula i'm using in the Control Source properties box of the respective
unbound text box as follows in the Thickness Footer of the report report:
Product
[ProductName]
Thickness
[Thickness]
SqM
=Sum([SqM])
But I have then added unbound text boxes to the Thickness Footer
Area
=[Thickness]*0.001
Volume
=Sum([SqM]*([Thickness]*0.001))
up to this point its ok but then I had the following problem with formula
to get the volume percentage for each Product type group:
% Volume Total
=([SqM]*([Thickness]*0.001))/Sum(([SqM]*([Thickness]*0.001)))
Note: product A is 0.1m thick
Total Area for the group in Product A = 197.64x0.1 = 19.764
Total Area for other products:
B = 2.5506
C=116.9872
Grand Total for all 3 products = 139.3018
This is where I want to divide this 19.764 by the combined Total Areas of
other Products. ie 19.764 / 139.3018 = 0.14187
My problem is using the above mentioned formula:
% Volume Total
=([SqM]*([Thickness]*0.001))/Sum(([SqM]*([Thickness]*0.001)))
does not work. I get in the report only the number 1.
help.
tbl_Products:
ProductName (text)
SqM (number)
Thickness (number)
Report (rpt_product) has been setup where it is sorted by Productname.
Essentially, the report is set up to show only the SqM totals for EACH
product group in the Thickness footer only.
ie:I'm only using ONLY the Thickness Footer to get the total for each
individual group type result.
Product SqM
A 11.70
A 11.70
A 108.72
A 16.20
A 9.90
A 39.42
total for A = 197.64 <----- this is the only thing that shows in the report
which is what i want. The same for B
The formula i'm using in the Control Source properties box of the respective
unbound text box as follows in the Thickness Footer of the report report:
Product
[ProductName]
Thickness
[Thickness]
SqM
=Sum([SqM])
But I have then added unbound text boxes to the Thickness Footer
Area
=[Thickness]*0.001
Volume
=Sum([SqM]*([Thickness]*0.001))
up to this point its ok but then I had the following problem with formula
to get the volume percentage for each Product type group:
% Volume Total
=([SqM]*([Thickness]*0.001))/Sum(([SqM]*([Thickness]*0.001)))
Note: product A is 0.1m thick
Total Area for the group in Product A = 197.64x0.1 = 19.764
Total Area for other products:
B = 2.5506
C=116.9872
Grand Total for all 3 products = 139.3018
This is where I want to divide this 19.764 by the combined Total Areas of
other Products. ie 19.764 / 139.3018 = 0.14187
My problem is using the above mentioned formula:
% Volume Total
=([SqM]*([Thickness]*0.001))/Sum(([SqM]*([Thickness]*0.001)))
does not work. I get in the report only the number 1.
help.