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 Apps
Suggested Answer

PowerApps Sorting

(0) ShareShare
ReportReport
Posted on by 2
I have a dashboard of my team's work orders that I'm populating from a SharePoint list. I'd like the items to sort based on the Work orders that are upcoming but the sort by date does not work correctly. I also tried adding a field that calculates the number of days before the work orders are due, but I can't filter based on those fields.The items are being pulled from an oracle database.  I've attached screenshots of the code if anyone can assist.
.
I have the same question (0)
  • Suggested answer
    abc 123 Profile Picture
    789 Moderator on at
    Dates are just strings, so sorting is going to be an Alphanumeric Sort. Consider creating a column formatted as YYYY/MM/DD HH:MM:nn such that the sort behaves better.
  • Suggested answer
    Mark Nanneman Profile Picture
    991 Moderator on at
    Could you provide more details about your "Scheduled Start" column?  Could you show it in SharePoint? Is it a Date/Time column or Text?
    Also, where are the dates coming from?  I notice that almost all of them are the same date and set very far in the future.  Same with your "Due in" days calculated column.  They're almost all due in 8935 days.

    The SortByColumns might be working, it's just that the dates are all the same so you don't notice it.


  • LU-06011735-0 Profile Picture
    2 on at
    @Mark Nanneman I'm pulling data from a read only oracle database to a SharePoint list. PowerApps is using the SharePoint list since I can't right to the oracle database. This is what I used for the "date due" 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 536

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Haque Profile Picture

Haque 305

Last 30 days Overall leaderboard