Oracle Fusion Data Intelligence

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

Using Bin Names in a Case Statement of OTBI Analysis Formulas

Received Response
31
Views
1
Comments
Vaigu_27
Vaigu_27 Rank 4 - Community Specialist

Hello Experts,

We are looking to use Bin Names in a CASE statement for a validation in OTBI Analysis, in our case Bin names are as below like Revenue,Other Revenue,Expenses.

Is there a way we can use Bin names in a CASE statement?

Below is the Snippet code & screenshot for reference where we used grouped accounts in Bins, can we use the Bin names for a Validation in a another CASE Statement

CASE WHEN "TestTotal"."NATURAL_ACCOUNT_SEGMENT" IN ('101060', '101200') THEN 'Revenue'

WHEN "TestTotal"."NATURAL_ACCOUNT_SEGMENT" IN ('104010', '112900') THEN 'Other Revenue'

WHEN "TestTotal"."NATURAL_ACCOUNT_SEGMENT" IN ('114030', '117000', '118000') THEN 'Expenses' ELSE 'Other' END

Any thoughts would be Appreciated.

Thanks

Answers