Pretty new to CR. Would appreciate a response from the gurus.
Is there a way to create a "parameterized" function that would accept the name of the database field as a parameter?
We have a table with N performance metrics. Need to summarize these using the PthPercentile(p,<metric column>,<group by column>) function.
I would like the user to be able to select the "metric" they want to summarize via a prompt / parameter and have the summary function operate on that user specified metric / column. Effectively, using this report / function as a "template".
Obviously, I can write N summary functions, one each for the individual metrics. Can I avoid that?
Thanks!
Is there a way to create a "parameterized" function that would accept the name of the database field as a parameter?
We have a table with N performance metrics. Need to summarize these using the PthPercentile(p,<metric column>,<group by column>) function.
I would like the user to be able to select the "metric" they want to summarize via a prompt / parameter and have the summary function operate on that user specified metric / column. Effectively, using this report / function as a "template".
Obviously, I can write N summary functions, one each for the individual metrics. Can I avoid that?
Thanks!