Hi there,
I am trying to creat a CASE WHEN Statement where it will pull the field which is not null from the list of given fields. Let say we have 10 fields with name Tag1, tag2, tag3 ..... tag10. Now what we need here is if the tag10 field is null then go to tag9 and if tag 9 is also null then go to tag8 and if tag8 is also null then go to tag7 and so on untill tag1. I tried but it is not working as it won't pass through first when statement. Any help regarding this will be greatly appreciated.
Thanks
I am trying to creat a CASE WHEN Statement where it will pull the field which is not null from the list of given fields. Let say we have 10 fields with name Tag1, tag2, tag3 ..... tag10. Now what we need here is if the tag10 field is null then go to tag9 and if tag 9 is also null then go to tag8 and if tag8 is also null then go to tag7 and so on untill tag1. I tried but it is not working as it won't pass through first when statement. Any help regarding this will be greatly appreciated.
Thanks