Hi, I have a requirement like this
I want to display Max Effective Date and corresponding Plan Description in the report.(One ID one record only)
The result should be like this in report:
Thanks
GSR
You could filter the report using the RANK function.
For instance, RANK(eff date BY ID) = 1.
Depending on your logical model you may also be able to create a measure in the rpd for this by creating a max based measure on effective date and then associating that with the ID by pinning it in your dimension hierarchy to that level; this is why I say depending on your logical model.
On your description, you might be able to create a logical function to achieve a lookup on this in your rpd, associated with the 'Plan' with the max date, but without knowing what that is I can advise further.
Alternatively, you could create another analysis with only the max effective date and plan description (if that is possible in your current subject area) and use that to filter the content in your 'outer' analysis.
Your data model seems odd in that I would expect only one description per plan unless this is some kind of SCD?
If it is a SCD then you should have effective from / effective to type dates and (hopefully) a unique PK value for all combinations thereof, depending on the type of the SCD it may be possible to you have some kind of 'live' SCD indicator.
If none of this is helpful then please provide more detail on your existing subject area and / or business model layer.
Hello GSR,
I think you can also use max(date) and then group by all other attributes...
Simple, but not what he is after, this would yield 2 lines for Simloa and Donnel, he only wants 1 line each...
Thanks Robert...
Seriously how can I miss that record... my bad.
I would go with Joel's solution of using Rank function... simple and effective as the requirement is to get just the top record by date for each ID..
Thank yo so much Joel. Its working.
We have migrated OBIEE dashboards to Oracle Analytics Cloud and need to automate exporting an entire Classic dashboard page as PDF or xls or csv. Our requirement is to: Pass Business Date and Credit Support ID dynamically. Export the complete dashboard page, including multiple analyses and conditional sections. Invoke the…
We are troubleshooting a BI Publisher price-book report where DCL and DCF Customer Price Groups are missing. The existing report uses the CPG pricing matrix dimension, where we found DC1, DC2, INX, and XST, but not DCL/DCF. DCF was found separately under: LineCustomerPriceGroup = DCF Adjustment Type = PRICE_OVERRIDE…
Dear Oracle Support Team, I need assistance uninstalling Oracle AI Database 26ai Free from my Windows 11 Home laptop. System configuration Operating System: Windows 11 Home Processor: Intel Core i5 RAM: 8 GB Oracle Product: Oracle AI Database 26ai Free Product Version: 23.0.0.0 Installer:…
Hello Oracle Analytics Community, We are investigating a dashboard compatibility issue between Oracle Analytics Server (OAS) 7.6 and OAS 7.0. Some dashboards originally created in Oracle BI 12c can be opened in OAS 7.6 but fail to open after being archived and imported into OAS 7.0. During our investigation, we found the…
We have a requirement Creating a Bar graph using Cost Center Tree hierarchy as prompt/filter in DV. Created a Bar Graph using Cost Center Tree Hierarchy as a prompt. When I'm selecting values through selection steps from Cost Center Tree Hierarchy, the Bar Graph not refreshing as the selected values are not passing to…