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 / Filter Gallery by Text...
Power Apps
Answered

Filter Gallery by TextBox gives me Error

(0) ShareShare
ReportReport
Posted on by 61

I try to insert a textbox (FilterTextBox) to filter the gallery, however, the function below gives me an error.

 

Georgetown15x_0-1600822723139.png

 

Can someone please help me? your insights and solution is much appreciated! 

Categories:
  • GarethPrisk Profile Picture
    2,828 on at

    If you're intending to filter by searching (which I recommend), then use a Search function instead.

    Search(Movements, FilterTextBox.Text, "name")

    The search will allow a null value, and does a full-text search against your fields. That's right, you can specify multiple fields to search against! Those columns will need to be declared as strings, if you put in Search(Movements, FilterTextBox.Text, into the Items box, the autocomplete in the function bar will show you the columns in the correct format.

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup

  • GarethPrisk Profile Picture
    2,828 on at

    Also, that visible error is because you have text (lowercase), when it expects a property name like Text (proper-case).

     

    You can mouse-over the errors and (sometimes) it will give you helpful info to resolve it. It will also show you the options that match (text would resolve to Text), in the formula bar.

  • Georgetown15x Profile Picture
    61 on at

    Georgetown15x_0-1600823625651.png

    Even I changed it to Text, still gives me the same error, any ideas?

     

  • GarethPrisk Profile Picture
    2,828 on at

    Can you mouse over the error and hit PrtSrc (Print Screen) to get a screenshot of it?

    It's either that the control doesn't have a Text property, or there's a mismatch to whatever Name is - presumably that was a column in your Movements table.

  • Georgetown15x Profile Picture
    61 on at

    Georgetown15x_0-1600823888827.png

     Invalid argument type. Name isn't valid. This identifier isn't recognized.

  • GarethPrisk Profile Picture
    2,828 on at

    It would appear as though Name is not a valid column, or cannot be disambiguated, for your data source.

    1. Can you try the Search recommendation I initially replied with?
    2. What is the Movements table?
      1. CDS? SharePoint?
      2. Collection?
      3. Is Name a column in that table?
  • Georgetown15x Profile Picture
    61 on at

    1.  No Luck

    Georgetown15x_0-1600824357774.png



    2. Common Data Service

    Georgetown15x_1-1600824402038.png

     

  • LuisTalavera Profile Picture
    45 on at

    Hi @Georgetown15x ,

     

    You can send the structure of Movements.

     

    Regards,

     

    Luis Talavera

  • GarethPrisk Profile Picture
    2,828 on at

    Remove what you have for "Name", in that formula bar.

    Does anything show up as a recommended selection - including something like "cds_name"? The column's schema name (which is what it wants) won't be a friendly name like Name, it'll be the schema name.

     

    Also that looks like you're using the Oakdale studio. That may be contributing to the issues, but what you're doing here should be supported. Probably just need to get accustomed to the syntax expectations within formulas.

     

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/formula-reference

     

  • Georgetown15x Profile Picture
    61 on at

    Could you please guide me how to do that? 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 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 360 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 325

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard