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 Apps / Select Query on postgr...
Power Apps
Unanswered

Select Query on postgresql error

(0) ShareShare
ReportReport
Posted on by
Attempting a date query from a postgresql database to try and get all rows where the date is past a specific day.
 
Attempting a Select Query i have tried the below which works fine running the query against the database itself, but in the flow gives an error:
 
select * from timesheets where date >= '2024-10-07'
error:
"Term 'select * from timesheets where date >= '2024-10-07'' is not valid in a $select or $expand expression.
 
I have also tried using ODATA querys like
 
date gt 2024-10-07
and
date gt 2024-10-07T00:00:00Z
and these gives no error but also returns no results.
 
 
Note that the date format in the database is 'YYYY-MM-DD' in a date column, if i allow the query to get all results, the date column is returned as '"date": "2024-10-02"'
Categories:
I have the same question (0)

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard