web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Add Filter for only fi...
Power Apps
Answered

Add Filter for only first 3 characters in a dropdown box

(0) ShareShare
ReportReport
Posted on by 300

Hi! I'm trying to create a multi-filter for my 'Search' gallery to include only the first 3 characters of my 'Filter by FLR Doc Code' dropdown. Could you please help me with the code? Thank you!

 

jaanihsm_0-1710197052469.png

 

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @jaanihsm ,

    The value you want would be

    =Left(drpFiLterByFLRDocCode.Selected.Value,3)

    I note .Value is wrong in your post, so you would need to fix this.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • jaanihsm Profile Picture
    300 on at

    Thanks Warren!

    I tried but still results in error...

     

    jaanihsm_1-1710198768061.png

     

    The values in this dropdown is of another SP List. Can that affect the concat formula?

     

    jaanihsm_2-1710198877795.png

     

     

  • Verified answer
    WarrenBelz Profile Picture
    153,073 Most Valuable Professional on at

    Hi @jaanihsm ,

    The issue is not the Left( . . ., 3) part - it is (as I mentioned) the output of the Combo Box is not .Value (the error was in your initial post). What is the name of the field displayed in this Combo Box - you need to use that instead of Value

  • jaanihsm Profile Picture
    300 on at

    It's working now! Thanks Warren! Just needed some deeper explanation.

  • jaanihsm Profile Picture
    300 on at

    Oh nvm, I just needed to add the Blank() part! Thanks Warren! So helpful and quick!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard