Categories
- All Categories
 - Oracle Analytics Learning Hub
 - 19 Oracle Analytics Sharing Center
 - 17 Oracle Analytics Lounge
 - 233 Oracle Analytics News
 - 44 Oracle Analytics Videos
 - 15.9K Oracle Analytics Forums
 - 6.2K Oracle Analytics Idea Labs
 - Oracle Analytics User Groups
 - 87 Oracle Analytics Trainings
 - 15 Oracle Analytics Data Visualizations Challenge
 - Find Partners
 - For Partners
 
Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture
OTBI formula based on presentation variable prompt
                
                    User_527SY                
                
                     Rank 2 - Community Beginner                
            
                        
            Hi,
I have tried to create report and in the fact amount using the following formula
"CASE WHEN "Ledger"."Ledger Name" = @{COMPANYA} THEN 1 WHEN "Ledger"."Ledger Name" = @{COMPANYB} THEN 2 ELSE "Balances"."Ending Balance" END"
And created presentation variable prompt ,my problem that above not captured the "Case" just bring me the "ELSE "Balances"."Ending Balance" END",could
I am expecting to have "1" or "2" based on the ledger.
Could you please advice?
Prompt definitions :
The formula :
1  
            
