Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

How to re-arrange columns in my collection

Like (0) ShareShare
ReportReport
Posted on 20 Mar 2022 19:29:57 by

I created a collection in a certain order but the columns appear in ascending order in the collection. See snapshot in attach

Code: 

ClearCollect(db, ShowColumns(Table1,"EID","Email","Designation_1","CUG","EmployeeName","Gender","BusRoute","LineManager"));

 

How do I re-arrange the columns in the order I want?

  • Raghavareddy1 Profile Picture
    on 01 Jan 2024 at 06:01:27
    Re: How to re-arrange columns in my collection

    collection.png

  • Raghavareddy1 Profile Picture
    on 01 Jan 2024 at 05:59:29
    Re: How to re-arrange columns in my collection

     

    Hi WarrenBelz,
    I have a collection with 4 columns (key,ProductList,text,url) which are by default alphabetical order.
    i want to reorder columns as text,url,key,ProductList. i am concatenating multiple gallery data as a single json value. 
    how can we reorder collection columns programatically.
     

     

  • Community Power Platform Member Profile Picture
    on 03 Apr 2022 at 12:04:48
    Re: How to re-arrange columns in my collection

    not yet

  • WarrenBelz Profile Picture
    147,233 Most Valuable Professional on 02 Apr 2022 at 21:46:16
    Re: How to re-arrange columns in my collection

    Hi @Anonymous ,

    Just checking if you got the result you were looking for on this thread. Happy to help further if not.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

  • WarrenBelz Profile Picture
    147,233 Most Valuable Professional on 20 Mar 2022 at 20:33:05
    Re: How to re-arrange columns in my collection

    Hi @Anonymous ,

    A collection display in the View > Collections facility will always have the fields in alphabetical order. You can however display them in any order you want in a Gallery.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    Visit my blog Practical Power Apps

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 294 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 169

#3
stampcoin Profile Picture

stampcoin 130

Overall leaderboard
Loading started