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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ODATA date filter wher...
Power Automate
Answered

ODATA date filter where SQL column is string format

(0) ShareShare
ReportReport
Posted on by 119

Hi everyone

I'm using Get Rows v2 on a table where the 'StartDate' column is varchar and formatted as yyyy-MM-dd.

 

DSFlemming_0-1636090248667.png

 

I need to filter the upcomnig week's data and I expect I'll be working with someting like StartDate le adddays(utcNow(),7,'yyyy-MM-dd') but I'm not sure how to modify the table's 'StartDate' column in the ODATA query to make it workable.

 

Any advice greatly appreciated.

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @DSFlemming ,

     

    You could use Filter action.

    vxiaochenmsft_0-1636538608376.png

     

    formatDateTime(item()?['StartDate'],'yyyy-MM-dd')
    adddays(utcNow(),7,'yyyy-MM-dd'
     
    Best Regards,
    Wearsky
  • DSFlemming Profile Picture
    119 on at

    That's great Wearsky. Just what I needed. Thanks for the tip.

    Regards, Dale

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard