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

Notifications

Announcements

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,847 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard