Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

How to display max date by multiple columns

rrrJul 26 2022

Hi,
How can I display the max date for each exist assignment status?
In this example the person number 977677 need display 2 rows:
* active = 1/6/2022
* Inactive = 8/5/22 the max date
TNX
image.png

Comments

Gianni Ceresa

Add the MAX formula to your date, remove the 2 type column and you will get the max date for your 2 status.

rrr

I have more columns in my table so I must to display the latest inactive row, only once + active.
which of those two option is apply the max date?
image.pngimage.png
the result is still not working:
image.png

Gianni Ceresa

So what you want to do is not directly to display the max date, but it is to filter your analysis for the max date for the 2 different status.
Such kind of complex filter is probably more easily achieved by filtering based on another analysis, handling the logic of finding what rows have the max date for your 2 status. It will be "easier to read" by splitting it into 2 pieces.

1 - 3