Is it possible to generate a PRODUCT like in Excel?

C

Chris

Hi, I would like to create a product as a summary - but
there seems to be no product function. I toyed with the
idea of using logarithms, but sadly there is no "power"
function either. Is it possible to do this?

I have included the SQL below as what I would *like* to do.


SELECT DISTINCTROW
Calculations.ClientAccountNumber, "PRODUCT"
(Calculations.AdjFactor) AS TotalAdjFactor
FROM Calculations;


Many thanks, chris
 
D

Duane Hookom

You can try
Select ClientAccountNumber, Exp(Sum(Log([Qty3]))) as TotalAdjFactor
FROM Calculations
GROUP BY ClientAccountNumber;
 
C

Chris

I bow down to your wonderfulness.

Many thanks.
-----Original Message-----
You can try
Select ClientAccountNumber, Exp(Sum(Log([Qty3]))) as TotalAdjFactor
FROM Calculations
GROUP BY ClientAccountNumber;


--
Duane Hookom
MS Access MVP


Hi, I would like to create a product as a summary - but
there seems to be no product function. I toyed with the
idea of using logarithms, but sadly there is no "power"
function either. Is it possible to do this?

I have included the SQL below as what I would *like* to do.


SELECT DISTINCTROW
Calculations.ClientAccountNumber, "PRODUCT"
(Calculations.AdjFactor) AS TotalAdjFactor
FROM Calculations;


Many thanks, chris


.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top