Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 48 Oracle Analytics and AI Sharing Center
- 19 Oracle Analytics and AI Lounge
- 286 Oracle Analytics and AI News
- 57 Oracle Analytics and AI Videos
- 16.3K Oracle Analytics and AI Forums
- 6.4K Oracle Analytics and AI Labs
- Oracle Analytics and AI User Groups
- 110 Oracle Analytics and AI Trainings
- 20 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
SUM BY Logic in OBIEE RPD
Hi All,
Oracle Business Intelligence 12.2.1.1.0
I am trying to implement a sum by using a level based hierarchy. I will try to explain the scenario in the best way I can.

I need to group the Amount(Column 3) by Ledger Type(Column 1). I used SUM(Amount by Ledger Type) in analysis and it gives the correct result. (Column 5). I need to push the same logic to the RPD. Also the SUM BY Amount should change with filters applied on the answers.
Fact Table LTS Content Tab


Tried setting the level of Ledger Type to detail and all other dimension to Total level at the column level. Then in analysis, numbers are getting group by Ledger Type only. But the issue is if I apply global filter on any other columns in report, the numbers are not changing.
Please let me know how can I implement the SUM BY logic in OBIEE RPD.
Facing the same issue as mentioned in this blog post.
https://www.rittmanmead.com/blog/2009/12/oracle-bi-ee-10-1-3-4-1-level-based-measures-grand-totals/
Thanks !
Answers
-
I was able to achieve the required output using EVALUATE_ANALYTIC. EVALUATE gives "window function not allowed here" error if we have total enabled on the report. With EVALUATE_ANALYTIC, the report works fine.
EVALUATE_ANALYTIC('SUM(%1) OVER (PARTITION BY %2)', "Accounts Payable"."AP Metrics"."Amount" , "Accounts Payable"."Ledger Type"."Scenario" )
Credit to @Sherry George for this idea.
0