different formula types can be processed in different report passes (I think there are 4 total passes???).
some formula are processed at the same time as the select statement and can be used in the sleect expert but in general I think it is best practice to use the source data as your select criteria (or sql expressions) so that the server can do the majority of the processing.
If you are using a group select criteria that is applied in a later data pass