Formatting Column — Oracle Analytics

Oracle Analytics Cloud and Server

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

Formatting Column

Received Response
11
Views
3
Comments
User_ZZQJ0
User_ZZQJ0 Rank 4 - Community Specialist

OBIEE 12c

I have a column with the following formula:

case "Facts"."Salary Amount"

WHEN 0 THEN 'N/A'

ELSE cast("Facts"."Salary Amount" as CHAR) END

When the "Facts"."Salary Amount" does appear in the column I would like to remove the 2 decimal places. I no longer see that option in column properties > Data Format since I am casting it to CHAR to accomodate for the case 'NA'

What I am getting now > $102000.00

Desired format example > $102000

Answers