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 / Filter Gallery by 2 co...
Power Apps
Answered

Filter Gallery by 2 conditions

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi

I have a gallery on PowerApps that uses SharePoint list and I need to filter it by two conditions:

- The "APRESENTADO" column must have the value "NÃO"

- The items must be displayed in Ascending order by the date on "DATA DE APRESENTAÇÃO" column

I can't find a formula that attends these two needs, does anyone know any? I tried this one, but it ignores the date Ascending part.

 

guquo_0-1672152783950.png

 

 

Categories:
  • Verified answer
    LaurensM Profile Picture
    12,516 Moderator on at

    Hi @Anonymous your formula is very close, you just need to use a Sort() function around the Filter():

     

    Sort(
     Filter(
     'Lista de Espera CM',
     APRESENTADO = "NÃO"
     ),
     'DATA DE APRESENTAÇÃO',
     Ascending
    )

     

    If this solves your question, would you be so kind as to accept it as a solution.

    Thanks!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Worked! 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

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard