Categories
- All Categories
- 87 Oracle Analytics News
- 7 Oracle Analytics Videos
- 14.1K Oracle Analytics Forums
- 5.3K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 49 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations Gallery
- 2 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
Problem with model - how to use max() keep (dense_rank last order) in OBIEE
Hi, I have some problem with creating model.
My table has for example for one product 3 record with STATUS and DATA_STATUS:
product1 || open || 2018.10.23 15:23:00
product1 || prepared || 2018.10.23 18:00:00
product1 || issued || 2018.10.23 23:00:00
product1 || close || 2018.10.26 00:00:00
And now I want use in bi something like this:
max(STATUS) keep (dense_rank last order by DATA_STATUS) LAST_STATUS
Additional in physical layer this table I have connect to D_TIME_STATE_OF (D_TIME_STATE_OF .D_TIME_ID >= DATA_STATUS) which means when I'm creating analysis on BI I want to set: DAY STATE OF for 2018.12.31 and want last data for this state, for example:
1) For state of = 2018.12.31 I want see :
product1 || close || 2018.10.26 00:00:00
2) for state of = 2018.12.25 I want see:
product1 || issued || 2018.10.23 23:00:00
How can I achieve result like this?
Answers
-
Can anyone help or suggest some approach to solve my problem? I have dimension in rpd like:
product1 || open || 2018.10.23 15:23:00 || 1
product1 || prepared || 2018.10.23 18:00:00 || 2
product1 || issued || 2018.10.23 23:00:00 || 3
product1 || close || 2018.10.26 00:00:00 || 4
But now I don't know how to see only last values on analysis.
I can add some rank for my table (like column four). Maybe I can show on analsis status only for max rank?
0 -
Several things:
1.) Are you measuring anything or are you just trying to shoehorn relational reporting into an analytical solution? - Spoiler: With your description you're doing the latter.
2.) If you were thinking analytical: Dimension-based aggregation using LAST
0