I'm trying to create a report that includes only records less than or equal to the 90th percentile of a number field of the full set.
My inclination was to use a main report that calculated the 90th percentile value in a shared variable, then use that shared variable in the selection formula of a subreport (placed in the main report footer).
Whenever I do so, the selection formula of the subreport doesn't compile, saying the shared variable must be evaluated later. I thought that was the point of having the subreport, but then again, subreports are new to me. Any thoughts?
Thanks immensely,
Jeremy