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.
Learn how to deploy an AI Data Platform agent, register it to the AI Registry, and introduce it to business users through Agent Hub. This session covers how to prepare an agent for deployment, configure endpoint access and authentication, invoke a deployed agent, and monitor it after deployment. The session also introduces…
Can you please help resolve this error. WebLogic version is 12c. OAS is 6.4
So I have an action passing a value to another workbook. On the other workbook, I have an expression filter and a parameter I created and it does not seem to work. Any ideas. See the images
We know you can directly export workbooks and folders from within OAC, and we know you can migrate OAC content using the FDI Content bundle. However, it's unclear what settings or steps are required in order to ensure any calculations in "Shared Objects" still carry over. When making a .dva artifact export from OAC for…
The user icon in the upper-right corner of OAC (DV) is displaying more menu options for our non-admin users than we wish to display. We would like to restrict these to only "Profile" and "Sign Out" for regular users. Is there a way to customize these menu items? Especially if we can control this via security, that would be…
What is wrong with this code