cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
burliad
Helper III
Helper III

Delegation Warning SharePoint List

Hi All,

 

I am getting a delegation warning on the code below.  I thought that both Filter and Sort could be delegated to SharePoint?

 

 

Sort(Filter(active_treat_log, lg_treat_num=varTNum),SortOrder.Descending)

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
burliad
Helper III
Helper III

Looks like I was able to fix it with this

 

SortByColumns(Filter(active_treat_log, lg_treat_num = varTNum),"lg_log_dt", Descending)

View solution in original post

3 REPLIES 3
burliad
Helper III
Helper III

Looks like I was able to fix it with this

 

SortByColumns(Filter(active_treat_log, lg_treat_num = varTNum),"lg_log_dt", Descending)
WarrenBelz
Super User
Super User

@burliad ,

Sort will also work

Sort(
   Filter(
      active_treat_log, 
      lg_treat_num = varTNum
   ),
   lg_log_dt, 
   Descending
)

 

v-xiaochen-msft
Community Support
Community Support

Hi @burliad ,

 

Has your problem been solved?

If so, you could mark the correct reply as a solution to help others in need. 

 

Best Regards,

Wearsky

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,701)