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 Apps
Answered

Filter gallery

(0) ShareShare
ReportReport
Posted on by 28

Hello there, user. I want to filter my gallery; the data type is all text, but when I filter, it only shows the first value; the values begin with 1. assets, 1.1 hardware, and so on; I've provided the syntax; can someone tell me what's wrong? 

Categories:
I have the same question (0)
  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Rohit-Ghare ,

     

    Please format the formula text on formula bar then paste the formula here in Text, otherwise it's difficult for us to modify it for you.

     

    Best regards,

  • Rohit-Ghare Profile Picture
    28 on at

    Filter('Accounting Data',StartsWith('Account Code',Lower(TextInput1.Text)),StartsWith('Account Name',Lower(TextInput5.Text)),StartsWith('Account Description',Lower(TextInput6.Text)),StartsWith('Account Type',Lower(TextInput7_1.Text)),StartsWith('Aggr_ Level 1 ',Lower(TextInput7.Text)),StartsWith('Aggr_ Level 2',Lower(TextInput8.Text)),StartsWith('Aggr_ Level 3',Lower(TextInput8_1.Text)),StartsWith('Aggr_ Level 4',Lower(TextInput8_2.Text)),StartsWith('Aggr_ Level 5',Lower(TextInput8_6.Text)),StartsWith(UD1,Lower(TextInput8_7.Text)),StartsWith(UD2,Lower(TextInput8_8.Text)),StartsWith(UD3,Lower(TextInput8_11.Text)),StartsWith('Number of Documents attached',Lower(TextInput8_15.Text)))   

     

     

     

  • Rohit-Ghare Profile Picture
    28 on at

    this is my gallerythis is my gallery

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Rohit-Ghare ,

     

    Could you please give an example that it only returns the first item in Gallery when you filter the data? A screenshot is enough.

     

    Best regards,

  • Rohit-Ghare Profile Picture
    28 on at

    sure here it isss.PNGss1.PNG

  • Rohit-Ghare Profile Picture
    28 on at

    in the account type, column the column value consists of only text values like bs, and is it works fine on that column ss2.PNGin the account name, and description the values start from 1. assets so if i search 1.1 ,1.1.1 it is not showing any value

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Rohit-Ghare ,

     

    It seems in your list these values begin with one or more spaces according to different levels. However, when you type 1 in search box, those items with " 1.1" or "  1.1.1" will not return. 

     

    If the list won't exceed 2000 items, you can use Trim function for the column names:

    Filter(
     'Accounting Data',
     StartsWith('Account Code',Lower(TextInput1.Text)),
     StartsWith(Trim('Account Name'),Lower(TextInput5.Text)),
     StartsWith(Trim('Account Description'),Lower(TextInput6.Text)),
     StartsWith('Account Type',Lower(TextInput7_1.Text)),
     StartsWith(Trim('Aggr_ Level 1 '),Lower(TextInput7.Text)),
     StartsWith(Trim('Aggr_ Level 2'),Lower(TextInput8.Text)),
     StartsWith(Trim('Aggr_ Level 3'),Lower(TextInput8_1.Text)),
     StartsWith(Trim('Aggr_ Level 4'),Lower(TextInput8_2.Text)),
     StartsWith(Trim('Aggr_ Level 5'),Lower(TextInput8_6.Text)),
     StartsWith(UD1,Lower(TextInput8_7.Text)),
     StartsWith(UD2,Lower(TextInput8_8.Text)),
     StartsWith(UD3,Lower(TextInput8_11.Text)),
     StartsWith('Number of Documents attached',Lower(TextInput8_15.Text))
    )

     

    Best regards,

  • Rohit-Ghare Profile Picture
    28 on at

    only this two values are visible rest are notonly this two values are visible rest are not

  • Rohit-Ghare Profile Picture
    28 on at

    and if i used trim on account code this much values are visibletrim2.PNG

  • Verified answer
    v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @Rohit-Ghare ,

     

    How many items are there in the list? 2000 is the maximum number, default is 500, you can change it to 2000 first in Settings.

    vjefferni_0-1703751432334.png

     

    If more than 2000 items will be there in the list, you'd better remove those spaces from these columns, otherwise delegation issue will remain.

     

    Best regards,

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
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard