Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

How to display max date by multiple columns

Received Response
727
Views
3
Comments
Rank 2 - Community Beginner

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


Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

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

  • Rank 2 - Community Beginner

    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?


    the result is still not working:


  • 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.

Welcome!

It looks like you're new here. Sign in or register to get started.