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

Announcements

Community site session details

Community site session details

Session Id :
Power Apps
Answered

Sorting a Gallery

(0) ShareShare
ReportReport
Posted on by 277

In my gallery:

Items: ClientComboBox.Selected.'Investment Products' 

The Title field in the gallery: Concatenate(ThisItem.Supplier.'Supplier Name'," - ",ThisItem.'Classic Product Name')

 

I want the items in the gallery to be sorted by the title field. 

 

I have tried: Sort(ClientComboBox.Selected.'Investment Products' ,Title,Ascending) but I get an error message. 

 

Please help.

Categories:
I have the same question (0)
  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @hildasteyn ,
    Try using below formula - 
    Sort(AddColumns(ListName,"newCol",Concatenate(Supplier.'Supplier Name'," - ",'Classic Product Name')) ,newCol,SortOrder.Ascending)
    You can replace ListName with you Datasource name or Sharepoint list name

  • Hilda Steyn Profile Picture
    277 on at

    Thank you!

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 211 Super User 2026 Season 1

#3
VASANTH KUMAR BALMADI Profile Picture

VASANTH KUMAR BALMADI 195

Last 30 days Overall leaderboard