@Mayorga, Gabriela (KRBOX) Welcome to Microsoft Q & A Community Forum. Kindly note that Classic Application Insights resources don't support parameterized functions. If you have a workspace-based Application Insights resource, you can create parameterized functions from your Log Analytics workspace.
If this answers your query, do click "Accept as Answer" and click "Yes" for the same, which might be beneficial to other community members reading this thread. If you have further questions, kindly revert with further information so that we can assist you accordingly.