Categories
- All Categories
- Oracle Analytics and AI Learning Hub
- 34 Oracle Analytics and AI Sharing Center
- 20 Oracle Analytics and AI Lounge
- 272 Oracle Analytics and AI News
- 48 Oracle Analytics and AI Videos
- 16.2K Oracle Analytics and AI Forums
- 6.3K Oracle Analytics and AI Idea Labs
- Oracle Analytics and AI User Groups
- 99 Oracle Analytics and AI Trainings
- 16 Oracle Analytics and AI Challenge
- Find Partners
- For Partners
OBIEE 12c - incorrect grand total for ABS formula
Hello,
I used ABS formula → abs(qty)
Results for individual records are ok, but Grand Total is incorrect.
For example:
In RPD I have set → Aggregation SUM.
What am I doing wrong?
Please help me.
Answers
-
If you want the absolute value of the total sum, update the measure formula in RPD → Logical Column as: ABS(SUM(QTY)) from SUM(ABS(QTY)) and then validate.
Hope this helps!
3 -
Hi,
I would say that what you see is correct, even if not what you expected.
You are facing a pre vs post aggregation behaviour: SUM(ABS(quantity)) <> ABS(SUM(quantity)).
Is this a measure you need often? If yes, I would definitely add the ABS in the column mapping between the physical and the logical layer in the RPD, and make that ABS Quantity column available next to the default Quantity column in the logical model and subject area.
I don't have an OBIEE 12c available, and in OAS 2025 is just does work as you would expect it (applying the expression before the aggregation).
3


