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

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Compare the data in the label with the list and get the result

(0) ShareShare
ReportReport
Posted on by

Hello, I have:
1. Sharepoint list called "Phones - copy"
2. The label "Label1" which contains the name
3. The label "Label2_1" which contains the name
I would like the "Label3" label to include the room number from the Telephones - copy list that is assigned to a given name and surname. I came up with something like this, but it doesn't work

 

First(Filter('TELEFONY — kopia';imię=Label1.Text && Nazwisko=Label2_1.Text)).Pokój
I have the same question (0)
  • WarrenBelz Profile Picture
    151,757 Most Valuable Professional on at
    Re: Compare the data in the label with the list and get the result

    Hi @pablik01 ,

    It is a bit hard to comment other than your filter (small modification below) is correct assuming all those value line up with the relevant fields

    LookUp(
     'TELEFONY — kopia';
     imiÄ™ = Label1.Text && 
     Nazwisko = Label2_1.Text
    ).Pokój

    I assume you are using this as the Default of the third control ? Please also post all the field types involved here.

  • pablik01 Profile Picture
    on at
    Re: Compare the data in the label with the list and get the result

    As before: incompatible types to compare Error, text

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 652 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 410 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 236

Last 30 days Overall leaderboard