Categories
- All Categories
- 67 Oracle Analytics News
- 5 Oracle Analytics Videos
- 13.9K Oracle Analytics Forums
- 5.2K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 37 Oracle Analytics Trainings
- 55 Oracle Analytics Data Visualizations
- 1 Oracle Analytics Data Visualizations Challenge
- 2 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
How to filter to see only rows where the ID has the newest Date?
Answers
-
Ideally you solve that in the model or the database level directly by having a view with the "current" values of your rows.
You could try by adding a rank on date by ID and only keep the rows with 1. Keep in mind the pre & post aggregation filtering issue, so you could look into selection step to keep only the rows you are after (for a post-aggregation filter).
0 -
Thank you Gianni. Perhaps you can give me another hint? I did at a new column with this Column formula:
RANK("Date")
then i get 1,2,3,4 and 5 in the cells. I don't quite get how to insert the "by ID" expression without error:
RANK('Date') BY 'ID'
does not work and gives Syntax ErrorRANK('Date') FROM 'ID'
does not work and gives Syntax ErrorRANK('Date') FROM ('ID')
does not work and gives Syntax Error0 -
-
Thank you Gianni - you made my day ☺️
0