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

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
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
 
Upvote 0

Forum statistics

Threads
1,214,581
Messages
6,120,368
Members
448,957
Latest member
BatCoder

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
Back
Top