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 / SortByColumns(Filter -...
Power Apps
Answered

SortByColumns(Filter - how much text data can it filter ?

(0) ShareShare
ReportReport
Posted on by 55

Hello

I have a sharepoint data source that has about 600 entries that are a hard drive and LTO library. Each entry corresponds to either a hard drive or LTO.

Screenshot from 2020-09-29 08-39-18.png

I use a simple power app to filter the 600 entries using :

 

SortByColumns(Filter([@'200722_RAY_DD_LTO_DB'], StartsWith('CONTENU DISQUE', TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

 

When I filter by LTO number or other simple entry, I get results back.

But the most important field for me is the disk content field. This contains lists of all the folders each entry has. When I filter this column, I don't get any results back.

All I have read concerning delegation explains that the limit is based on not exceeding 2000 unique entries and it does not mention anything about filtering large text data fields.

Can anyone help me either with an alternative filter or search mode or other soultion?

Many thanks

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    Microsoft Employee on at

    Hi @ChLowden ,

     

    Could you please share more details about your issue?

    How did you filter the disk content field? please share the code.

    What is the date type of disk content field? Does it store a table with all folders each entry has?

    If so, I would suggest you use the following code. use in operator to check if the search text contains in the disk content table.

    SortByColumns(Filter([@'200722_RAY_DD_LTO_DB'], TextSearchBox1.Text in 'disk content'), "Title", If(SortDescending1, Descending, Ascending))
    

    Note: this formula may not be delegable, but it won't make any influence since there are only 600 entries if you increase the delegation limitation to 2000 in PowerApps Settings.

    If this doesn't make sense, please share more details about your issue.

    Hope this helps.

    Sik

  • Verified answer
    ChLowden Profile Picture
    55 on at

    Hello Sik

    To be honest, I don't understand. My goal is to search all the CONTENU DISQUE cells in the sharepoint for text strings using the search field at the top of the app's window.

    Attached are screen grabs of the sharepoint & the power app canvas.

    Many thanks

     

    Screenshot from 2020-09-29 13-14-44.pngScreenshot from 2020-09-29 13-16-40.png

     

     

    Screenshot from 2020-09-29 13-14-44.png
    Screenshot from 2020-09-29 13-16-40.png
  • ChLowden Profile Picture
    55 on at

    I don't understand why (maybe you can tell me), but this seems to work.

     

    SortByColumns(Filter([@'200722_RAY_DD_LTO_DB'], TextSearchBox1.Text in 'CONTENU DISQUE'), "Title", If(SortDescending1, Descending, Ascending))

    Many thanks

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 414

#2
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 315 Super User 2026 Season 1

Last 30 days Overall leaderboard