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 Platform Community / Forums / Power Apps / Best method for manual...
Power Apps
Unanswered

Best method for manually controlling the order of a list

(0) ShareShare
ReportReport
Posted on by 725

Hi all

I have a basic phone app in which I would check stock levels in a warehouse in the order of appearance as I start at one end and finish at the other. So I would like my list to reflect that. Currently, I have the description of each item in a label, then when I change the current stock, it patches that through. It all works but the user would not be able to change the order, or if an item is obsolete, they cannot remove it.

Would there be a better way?

Screenshot Phoneapp1.pngScreenshot Phoneapp2.png

Categories:
  • WarrenBelz Profile Picture
    156,963 Most Valuable Professional on at

    Hi @Corissandageri ,

    I am assuming that "Product" is a field in this data set.

    So you could have a toggle (i will call it UserSort) as true/false)

    The items property of the gallery would be (I have a feeling that the second Distinct is wrong on your data set, but you will get the idea)

    If(
     UserSort.Value=false,
     Sort(
     Distinct(
     Table3,
     Multiply1 * TextInput1_3.Text
     ),
     Ascending
     ),
     Sort(
     Distinct(
     Table3,
     Product
     ),
     Ascending
     )
    )

     

    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up.

  • R Bakker Profile Picture
    725 on at

    Thank you for the reply, But I don't think this gives me control on the order of the list.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard