Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
GROUP BY in logical column

Hi Experts,
I have created a formula in the analysis like below
COUNT(Orders BY Segment, Year)
Can I incorporate the above logic into logical column in bmm layer?
Thanks
Answers
-
Assuming Orders is a measure and you have the proper hierarchies defined for those 2 dimensions, you can create a level based measure that will give you what you want.
https://gerardnico.com/wiki/dat/obiee/obis/measure_level_based
0 -
Pedro,
Thanks for the reply. In my case, all the columns are coming from one dimension table. May be I have to separate them into different logical fact and dim tables and then create the level based measure.
But can I create one measure at different levels i.e segment and year?
Thanks
0 -
Whilst you can 'pin' a measure to as many dimension hierarchies at whatever level you need I would caution that you may find that the numbers may not be correct if you have a dynamic data population.
i.e. if you form has prompts/ filters you may find that the level based measure does not produce the right figures, but your analysis based count by will.
Others may have found ways around this, but this has been my experience in the past when I was trying to create share of segment, share of market measures which dynamically restated based on the current total data population driven by prompts and filter functionality.
In short, try it, but do test heavily on a number of scenarios before relying on it in a production environment - which should be the caveat with all BI functionality.....
0 -
You could use the EVALUATE_ANALYTIC function in RPD. Give it a try.
0 -
3547198 wrote:Thanks for the reply. In my case, all the columns are coming from one dimension table. May be I have to separate them into different logical fact and dim tables and then create the level based measure.
Remove the "maybe".
The logical model is supposed to be a real model, a start schema. If all the columns come from the same table doesn't matter, that's a detail for the physical layer. In the logical layer they are supposed to be dimensions (and segment and year are generally 2 different dimensions).
In that case, with a proper model, you can then add all the level based measure you want mixing all the required granularity and dimensions.
0 -
Thanks for the reply Gianni. Will give a shot at it.
0