Hi Sharon,
You cannot do this inside the selection formula.
You should report off of a SQL query (via the Add Command Option) that includes this sub query.
If you're reporting directly against tables, you can do this using a SQL Expression field too.
The code would looks like this
(
Select A."field"
From Table A
Where A."field" = Table."Field"
)
-Abhilash