Hi ,
I wrote one UDf to check a field out of 3 fields existence and pass the value which is coming. It is working fine for single value.
But when I tired to send multiple values it is suppressing the values.
Any ideas to resolve this: Please see the screesnhsot for refrence:
udf is below: with 3 input variables . If multiple values are coming i do not want to suppress.
String field = null;
if (var1 != null)
{
field = var1;
}
else if (var2 != null)
{
field = var2;
}
else if (var3 != null)
{
field = var3;
}
return field;