Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I've a field name "UserLocation".
and data is Bangalore
Chennai
Hyderabad
' ' this is null value it contains nothing.
I want to convert, this empty value into "Not-defined" value.
I've tried the following one
pick(wildMatch(UserLocation,'* *','Bangalore','Chennai','Hyderabad'),'Not-defined','Bangalore','Chennai','Hyderabad') as UserLocation
but still I can't see Not-defined data in the UserLocation field.
Need Help on this?
if(IsNull(UserLocation),'Not-defined',UserLocation) as UserLocation
hth
Sasi
try this
LOAD *,
if(len(trim(UserLocation))=0,'Not-Defined',UserLocation) as UserLocationNew,
.....
if(IsNull(UserLocation),'Not-defined',UserLocation) as UserLocation
hth
Sasi