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
Unanswered

Power apps Formula

(1) ShareShare
ReportReport
Posted on by 137

Hello

Im using the below formula in items of power apps gallerty to sort the date in descending order ,im using the column datatype as Single line of textScreenshot 2024-07-09 150502.png in the dataverse and ive given the below formula on item of the gallery 

Sort(
    Filter(
        ResourceAllocation_ProjectTables,
        IsBlank(ComboBox9_2.SelectedItems) || CountRows(ComboBox9_2.SelectedItems) = 0 || Sum(
            ForAll(
                ComboBox9_2.SelectedItems,
                If(
                    Priority = Value,
                    1,
                    0
                )
            ),
            Value
        ) > 0,
        IsBlank(ComboBox8_5.SelectedItems) || CountRows(ComboBox8_5.SelectedItems) = 0 || Sum(
            ForAll(
                ComboBox8_5.SelectedItems,
                If(
                    'Power Platform1' = Value,
                    1,
                    0
                )
            ),
            Value
        ) > 0,
        IsBlank(ComboBox8_4.SelectedItems) || CountRows(ComboBox8_4.SelectedItems) = 0 || Sum(
            ForAll(
                ComboBox8_4.SelectedItems,
                If(
                    'Project Name' = Value,
                    1,
                    0
                )
            ),
            Value
        ) > 0
    ),
ETA,SortOrder.Descending
) but the sorting is not sorting properly Screenshot 2024-07-09 150140.png
 
 
Categories:
I have the same question (0)
  • MichaelFP Profile Picture
    1,886 Moderator on at

    Try to build first the collection and after apply the sort. Check if the field is coming on the data source too.

     

    If my answer helped you, please give me a thumbs up (👍). If solve your question please mark as solution ✔️. This is help the community.

     

     

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 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard