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 / Form not displaying in...
Power Apps
Unanswered

Form not displaying in gallery when clicking item

(0) ShareShare
ReportReport
Posted on by 121

Hi all,

 

I am using the following code in my items property within my gallery.

Sort(
 Filter(
 LogDataALL,
 NewCreatedBy = varUN,
 Year('Log Date') = Year(Dropdown4.Selected.Value)
 ),
 'Log Date',
 SortOrder.Descending
)

This works ok but is Delegable.

 

I have tried the following which works within the gallery as it's none delegable however when i select the item it wont display the item it the form.

With(
 {
 tt: Sort(
 Filter(
 AddColumns(
 LogDataALL,
 "yrs",
 Year('Log Date')
 ),
 yrs = Year(Dropdown4.Selected.Value),
 NewCreatedBy = varUN
 ),
 'Log Date',
 SortOrder.Descending
 )
 },
 tt
)

 

My Onselect code is

Set(varRecord, ThisItem); Navigate(EditCommandRecord, ScreenTransition.None)

Any ideas on why this is happening?

 

Categories:
  • realwillwright Profile Picture
    772 Moderator on at

    Hi @Markswan20 

     

    The code in the with function will still not be delegable, the warning will just be supressed. Here is a cheat sheet from Matthew Devaney that should help get around some of the delegation issues. SharePoint Delegation Cheat Sheet For Power Apps (matthewdevaney.com)

     

    -------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

     

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

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard