Skip to main content

Notifications

Power Apps - Building 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.
  • Verified answer
    mmbr1606 Profile Picture
    mmbr1606 10,444 on at
    SortByColumns
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard