Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

In the formula how can I convert number to string in a particular case

Received Response
446
Views
4
Comments
User_8PPKU
User_8PPKU Rank 2 - Community Beginner

Imagine you have a field that is a number (for example a):

I want to convert the field value (in the formula) to the string 'NA' when the data is null .

How can I do this?

I tried with:

CASE WHEN a IS NULL THEN 'NA' ELSE a END


but it is not work .

Regards.

Answers