web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to get highest dat...
Power Automate
Unanswered

How to get highest date from a lookup column array

(0) ShareShare
ReportReport
Posted on by 2

Hello,

Here is my issue: I try to get the highest date from a lookup column array. Let me explain....

 

I have a Sharepoint list lookup column where multiple values is enable:

multiple array 1.png

The "Doc multi:Date" column show automatically the dates of the documents I added. 

What I want to do is to be able to copy the highest date in an other column...

 

To do this I went to Power Automate and created the following flow:

multiple array 2.png

At this step I am a bit lost. I know that my field "Doc multi:Date" is an array with dates... but what can I do to select the highest date within this array?

 

I have been searching and trying many things to find a solution but with no success.

Thank you for your help!

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    Re: How to get highest date from a lookup column array

    Hi @Tiberian ,

    If you create a variable for the highest date and assign the first array item as the variable value, then you should compare the variable value with each array item and if the array item date is higher you should set the variable again. I hope it makes sense. Let me know if you need any screenshots

  • KarlH Profile Picture
    31 on at
    Re: How to get highest date from a lookup column array

    Good afternoon @Anonymous - would you be so kind to share further insight into your solution? I too have an array of dates from a LookUp column, and just need to return the largest and the smallest date from this field. I don't understand why Flow has made this simple task excessively difficult. 😞

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard