Categories
- All Categories
- 75 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 40 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations
- 2 Oracle Analytics Data Visualizations Challenge
- 3 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Calculated Measure in AGO Function
Hi All,
Oracle Business Intelligence 12.2.1.1.0
This is a question I received from 1 of the users. Users use AGO function at the report level on top of RPD measures and results are fine. Question is will AGO work for a calculated measure in answers. ?
For example , user created a new measure in analysis say COUNT(DISTINCT "Transaction Details"."Document Number"). Then created a new column in report and gave the below mentioned formula.
AGO(COUNT(DISTINCT "Transaction Details"."Document Number"), "Time"."Time"."Fiscal Year", 1)
Thanks
Ebin
Answers
-
Hey Ebin,
Yes Ago function works from Answers too. You need to ensure you have the Hierarchy Tree pulled in to answers to do this calculation and reference the "level" with right level of field.
In the example below the level would be "Time"."Time"."Year".
0 -
It depends on your business model, can you check the query behind
0 -
Hi,
If I create a measure in the RPD for the formula COUNT(DISTINCT "Transaction Details"."Document Number") and use that column in the analysis, AGO works fine. But when I try to do count distinct in answers, it is not working and just displays the same value as shown in the above screenshot.
0 -
Hey Ebin,
This seems to be a defect in 12c. I faced the same issue and Oracle Provided a workaround to fix this.
You can add one of the below in the Advance Tab --> Prefix
SET VARIABLE OBIS_REDUNDANT_DISTINCT_OPTIMIZATION = 'DISABLED' ;
OR
SET VARIABLE OBIS_REDUNDANT_DISTINCT_OPTIMIZATION = 'LEAF_ONLY'
0 -
Hi,
My issue is not related to distinct. It is with using formula in AGO in report. I face the same issue even if I just use count instead of count distinct.
Just want to confirm if there is any restriction on measure that it should be defined in the RPD ?
Thanks
Ebin
0 -
Check this SR 3-16820476571 I created for the Ago issue.
Bug 26642083 was reported in 12c version. I dont think you need to do anything specific in the RPD for Ago function to work.
0