Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Varun1
Partner - Contributor III
Partner - Contributor III

Display Latest Cycle

Hi,

My data :

Case IdentifierCycleStageMax stages in the cycleOverall StatusTime (Days and Hours)SLA Time ScaleSLA.Time
{E075B973-0000-C511-B2FA-0428B188370D}625Pending0 00:20:21Less Than 7 Days12/05/2021 10:06:20 AM
{E075B973-0000-C511-B2FA-0428B188370D}615Pending0Less Than 7 Days12/05/2021 10:05:59 AM
{E075B973-0000-C511-B2FA-0428B188370D}522Complete0 00:15:18Less Than 7 Days21/10/2020 10:21:15 AM
{E075B973-0000-C511-B2FA-0428B188370D}512Pending0Less Than 7 Days21/10/2020 10:05:57 AM
{E075B973-0000-C511-B2FA-0428B188370D}422Complete0 00:07:21Less Than 7 Days20/10/2020 2:58:41 PM
{E075B973-0000-C511-B2FA-0428B188370D}412Pending0Less Than 7 Days20/10/2020 2:51:20 PM
{E075B973-0000-C511-B2FA-0428B188370D}322Complete0 03:22:03Less Than 7 Days20/10/2020 2:37:09 PM
{E075B973-0000-C511-B2FA-0428B188370D}312Pending0Less Than 7 Days20/10/2020 11:15:06 AM
{E075B973-0000-C511-B2FA-0428B188370D}222Complete0 00:46:35Less Than 7 Days05/08/2020 11:28:05 AM
{E075B973-0000-C511-B2FA-0428B188370D}212Pending0Less Than 7 Days05/08/2020 10:41:30 AM
{E075B973-0000-C511-B2FA-0428B188370D}122Complete0 04:24:59Less Than 7 Days04/08/2020 10:38:39 PM
{E075B973-0000-C511-B2FA-0428B188370D}112Pending0Less Than 7 Days04/08/2020 6:13:40 PM
{1234B}223Pending0 00:46:35Less Than 7 Days05/08/2020 11:28:05 AM
{1234B}212Pending0Less Than 7 Days05/08/2020 10:41:30 AM
{1234B}122Complete0 04:24:59Less Than 7 Days04/08/2020 10:38:39 PM
{1234B}112Pending0Less Than 7 Days04/08/2020 6:13:40 PM


What I require now is show only the pending status of the latest cycle in of 'Case ID'. The output required is as shown below:
As you can see in the above data when the 'Stage'  = 'Max stage in cycle 'the 'Status' is complete.

Case IdentifierCycleStageMax stages in the cycleOverall StatusTime (Days and Hours)SLA Time ScaleSLA.Time
{E075B973-0000-C511-B2FA-0428B188370D}625Pending0 00:20:21Less Than 7 Days12/05/2021 10:06:20 AM
{E075B973-0000-C511-B2FA-0428B188370D}615Pending0Less Than 7 Days12/05/2021 10:05:59 AM
{E075B973-0000-C511-B2FA-0428B188370D}522Complete0 00:15:18Less Than 7 Days21/10/2020 10:21:15 AM
{E075B973-0000-C511-B2FA-0428B188370D}422Complete0 00:07:21Less Than 7 Days20/10/2020 2:58:41 PM
{E075B973-0000-C511-B2FA-0428B188370D}322Complete0 03:22:03Less Than 7 Days20/10/2020 2:37:09 PM
{E075B973-0000-C511-B2FA-0428B188370D}222Complete0 00:46:35Less Than 7 Days05/08/2020 11:28:05 AM
{E075B973-0000-C511-B2FA-0428B188370D}122Complete0 04:24:59Less Than 7 Days04/08/2020 10:38:39 PM
{1234B}223Pending0 00:46:35Less Than 7 Days05/08/2020 11:28:05 AM
{1234B}212Pending0Less Than 7 Days05/08/2020 10:41:30 AM
{1234B}122Complete0 04:24:59Less Than 7 Days04/08/2020 10:38:39 PM

Please advice how this can be achieved,

 

Thanks in advance

0 Replies