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
Answered

SortByColumns

(0) ShareShare
ReportReport
Posted on by 725
Hi All
For some reason a working app suddenly does not sort by columns. If I remove the sbc it still filters properly, the only sbc that works now is by a date column, no errors
 
SortByColumns(Filter(database,POIID=InspectSelect.POIID),"POIAreaID",SortOrder.Ascending,"POIItemID",SortOrder.Ascending)
 
POIAreaID=Text
 
POIItemID=Number
 
Very strange as it was working before.
 
 
Thank you for your time.
Categories:
I have the same question (0)
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    hey
     
     
     
    can u try this modification:
    ClearCollect(tempCollection, Filter(database, POIID = InspectSelect.POIID));
    SortByColumns(tempCollection, "POIAreaID", SortOrder.Ascending, "POIItemID", SortOrder.Ascending)
    
    if this worked please mark my answer as verified,
     
    cheers

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,070

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 608

Last 30 days Overall leaderboard