> On 3 Dec 2018, at 8:06, Glenn Schultz wrote:
>
> All,
> I am using the function below to convert a continuous variable to a binned
> value. Sometimes a value other than zero is passed through the query. For
> example -.5 result value is passed to the query result. The basic of the
> quer
> "Glenn" == Glenn Schultz writes:
Glenn> All,
Glenn> I am using the function below to convert a continuous variable
Glenn> to a binned value. Sometimes a value other than zero is passed
Glenn> through the query. For example -.5 result value is passed to the
Glenn> query result. The basi
All,
I am using the function below to convert a continuous variable to a binned
value. Sometimes a value other than zero is passed through the query. For
example -.5 result value is passed to the query result. The basic of the
query is below.
select
incentivebin(wac, rate, .25)
from
my_table
whe