Functions don't have an impact on the data source query. Formulas are applied at rendering time, the the result set returned by query.
Explanation