cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SumanKoduri
Helper V
Helper V

Need to check whether record matches in Table

Hi

I have one pattern table that stores all the patterns of Item like starts with 

I have one text I need to check whether this text item exist in that table pattern

How can I get that whether the entered text pattern available in a table

1 ACCEPTED SOLUTION

Accepted Solutions
rimatos
Community Support
Community Support

Hi @SumanKoduri 

 

From my understanding you are trying to compare the value of a text input, and compare it with a the "patterns" stored in a certain table, is this correct?

If so, you can accomplish this by doing the following:

 

 

Let's say you have a table called patternTable_1, a TextInput box called TextInput1, and label called Label4.

 image.png

 

In this scenario you can use the LookUp function as such:

 

LookUp(patternTable_1, TextInput1.Text = Pattern , true)

 

By inserting this function into a label, it will search your table patternTable_1 for the text inserted in the TextInput1 box, and it will return either true or false depending if that specific value exists in your Table in the Pattern column.

 

Let me know if this answer helps you move forward!

 

Ricardo

View solution in original post

1 REPLY 1
rimatos
Community Support
Community Support

Hi @SumanKoduri 

 

From my understanding you are trying to compare the value of a text input, and compare it with a the "patterns" stored in a certain table, is this correct?

If so, you can accomplish this by doing the following:

 

 

Let's say you have a table called patternTable_1, a TextInput box called TextInput1, and label called Label4.

 image.png

 

In this scenario you can use the LookUp function as such:

 

LookUp(patternTable_1, TextInput1.Text = Pattern , true)

 

By inserting this function into a label, it will search your table patternTable_1 for the text inserted in the TextInput1 box, and it will return either true or false depending if that specific value exists in your Table in the Pattern column.

 

Let me know if this answer helps you move forward!

 

Ricardo

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (1,818)