1. A computer-implemented method for reducing a size of a data set to be processed by an analytic routine, the method comprising: configuring one or more computer processors to perform an operation comprising: receiving a data set to be processed by the analytic routine, wherein the data set includes a set of data records returned from executing a first query; receiving, from a user, one or more parameters to pass with the data set to the to the analytic routine; identifying, from the one or more parameters, one or more conditions having predefined relationships to the respective parameters; evaluating each data record of the data set based on the one or more parameters and the one or more conditions to generate identify a reduced data set containing less than all of the set of data records; performing the analytic routine on the reduced data set to generate a result set; and outputting the result set, wherein evaluating each record of the data set includes generating a second query from the first query, the one or more parameters, and the identified condition; and executing the second query to generate the reduced data set.