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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Get a row couldn't fin...
Power Automate
Unanswered

Get a row couldn't find the right value

(0) ShareShare
ReportReport
Posted on by 77

Goodmorning all, 

 

I am working on a flow that looks up daily whether a date in an excel file is older than 3 years. So it looks for a date in the rows of a column. This is what the excel file looks like:

 

Martijn2_0-1711621163266.png

 

Using format date time and a pasttime construction, it arrives at the date 3 years ago. This flow runs every day. Only succeeds with the get a row file that should extract the information from these cells that is older than 3 years to find this date. Could it be that it is a different data type or influenced by the cell properties?

 

Martijn2_1-1711621186708.pngMartijn2_2-1711621205315.pngMartijn2_3-1711621232872.pngMartijn2_4-1711621281605.pngMartijn2_5-1711621326171.png

"No row was found with Id '28-3-2021' It does not find the queue while it is actually there.
 
Thank in advance
Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Martijn2 The Get a Row column requires a key column and key value. The values stored in the key column must be unique. Using a Date as a key column will produce unexpected results as the values may not be unique.

     

    You will need to use a List Rows Present in a Table action. This action will return all rows from the selected Excel Table. 

     

    Hope this helps!

    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Level up your Power Automate skills by checking out my tutorials on YouTube
    👉 Tips and Tricks on TikTok and Instagram
  • Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    A date can certainly be unique ‌‌😉
    The problem here is that Excel internally stores dates differently.

  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @Chriddle I suppose but if there are a few rows with the same date would that not cause an issue with the Get a Row action? 

  • Verified answer
    Chriddle Profile Picture
    8,436 Super User 2025 Season 2 on at

    Probably, but even if this isn't the case, the approach of the OP does not work.

    In Excel, a date is a number, not a date string as in Power Automate.

    Therefore the date string has to be converted to such a number in order to act as a Key Value.

    I wouldn't go that path and I also recommend using "List rows" with an odata filter.

  • Verified answer
    Martijn2 Profile Picture
    77 on at

    Hi all,

    Thanks for your responses.

     

    I found a workaround to make it work in my situation. The problem was with the dashes and the format. Since there is in my case also a flow that adds the dates in this cell. I was able to add a json() function that puts the date in a json format and a replace function that removes the dashes. Then it does recognize this. Basically, it is then findable for the get a row action. 

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
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard