could derived fields be reused inside query?

deetron

New Member
Joined
Dec 17, 2004
Messages
43
I have a query that uses fields from several tables. I then derive 2 fields: Units and Revenues inside the query: Units: [Field1]*[Field2], and
Revenues: [Units]*[Price]. In this last field derivation, Price field comes from the table, and Unit is internally derived field. Everytime I click on the query a parameter form pops up for the Units. If I just click OK to go to the datasheet view, all the derived fields are correct. But WHY IS THIS field keeps popping up everytime I open the query???

Can the derived field inside the query be reused to derive another field?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

SydneyGeek

MrExcel MVP
Joined
Aug 5, 2003
Messages
12,251
The short answer is no -- not in the same query (or form or report).
If, for example, [Units] is [Cartons]*[Qty per Carton], then EVERY place you want to use [Units] in this query, you have to re-use the derivation.
If you base another query on this one, it's another matter. Then [Units] can be used as another field.

Denis
 

Forum statistics

Threads
1,147,623
Messages
5,742,208
Members
423,712
Latest member
edzubur

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top