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 / compare split value in...
Power Apps
Answered

compare split value in a lookup formula

(0) ShareShare
ReportReport
Posted on by 39

Hello

My app ask a user to enter a number who range between 000000 and 999999 and who are used to reference products . Then i search in my table this number in a specif column (alway the same) and i get the first match.


Then i use this match to give info to the user about the product. I tested with a self made test table where the reference range between 000000 and 999999 and it work.

 

Now I got to use a table made by someone else. In this table, the reference column is different since it's made like this :
Y-XXXXXX
Where Y is a letter and XXXXXX are my number (who range the same).

 

I want to compare the number my user input with the reference number of the new table minus the Y- .
Do you know any way who can help me achieve that ?
I can do this in powerapp OR i can do this in the sharepoint who is my source. But i don't know how to do this for both.

 

Thanks in advance.

Categories:
I have the same question (0)
  • BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @Alberto_Nonymes 

     

    The below will return everything after the dash, so you can search against this:

    Last(Split("Y-XXXXXX","-"))

     

  • Verified answer
    Alberto_Nonymes Profile Picture
    39 on at

    Thanks, i'm going to test this when i came back from my vaccations

  • Verified answer
    BCBuizer Profile Picture
    22,844 Super User 2026 Season 2 on at

    Hi @Alberto_Nonymes ,

     

    Hope you had a good vacation. In case you managed to test and it is working, please accept the solution for the benefit of the community.

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 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard