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 / I need help nesting a ...
Power Apps
Answered

I need help nesting a Gallery.Items formula

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I need a little help nesting these two gallery items formulas.  I'm still working on familiarizing myself with the syntax...

 

If(Toggle1.Value, Filter('Engagement Form', 'Created By'.DisplayName = gvCurrentUserName), 'Engagement Form')

 

SortByColumns(Filter('Engagement Form', StartsWith(Activity_Name, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

 

Thanks in advance!

 

-Jake

Categories:
  • Verified answer
    Jeff_Thorpe Profile Picture
    6,085 Super User 2024 Season 1 on at

    I think this might be what you are looking for:

     

    SortByColumns(
     Filter(
     If(Toggle1.Value, Filter('Engagement Form', 'Created By'.DisplayName = gvCurrentUserName), 'Engagement Form'),
    	StartsWith(Activity_Name, TextSearchBox1.Text)
    	),
     "Title",
     If(SortDescending1, Descending, Ascending)
    )
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You've done it again, thanks Jeff!

     

    -Jake

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard