cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mssss
Helper V
Helper V

How to get min date from excel file, when excel file is added to sharepoint

Hello, I am trying to get min date on my excel file.

 

This is my scenario.

  • When excel file is added to sharepoint.
  • Get min date in column A. 
  • mssss_1-1623051247045.png

     

mssss_0-1623051223345.png

 

Any help would be appreciated!

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User
Super User

Hello @mssss ,

I think the easiest way would be to use the 'List rows present in a table' action. The prerequisite is that the data in excel must be in a table. But then you can use the 'Order By' field to order the rows by the date column in ascending order (lowest first) and limit the 'Top Count' to 1 to get only the row with the lowest date.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

1 REPLY 1
tom_riha
Super User
Super User

Hello @mssss ,

I think the easiest way would be to use the 'List rows present in a table' action. The prerequisite is that the data in excel must be in a table. But then you can use the 'Order By' field to order the rows by the date column in ascending order (lowest first) and limit the 'Top Count' to 1 to get only the row with the lowest date.

image.png



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (3,911)