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 / Trouble with a lookup ...
Power Apps
Answered

Trouble with a lookup funtion

(0) ShareShare
ReportReport
Posted on by 12

Hello all, thanks in advance for your support.

 

I have two sharepoint tables. 

-Project Info: Project details, main column is "Project", there is also a column called "Admin fee".

-Invoice Data: Table with invoices. Includes one required column that is a drop-down referring to the "Project" above.

 

I am creating a power apps form for the Invoice data table. 

 

I want a data label to return the "Admin Fee" from the "Project Info" table when the "Project" is selected from the drop-down. See screenshot below.

 

LaurentPMO_0-1665580177341.png

 

 

My formula is currently:  LookUp('Project List' ; Project = ProjectSelect.Selected.Project ; 'Admin Fee')

I've followed some tutorials and many lead me to this same formula so I'm not sure what I'm missing.

Categories:
  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Hi @LaurentPMO ,

    In your formula - LookUp('Project List' ; Project = ProjectSelect.Selected.Project ; 'Admin Fee'), are you getting the value of ProjectSelect.Selected.Project in the label?
    Is ProjectSelect the name of DataCardValue from the form that is on the left of your screen ?

  • LaurentPMO Profile Picture
    12 on at

    Yes you are correct, ProjectSelect is the name of the DataValueCard for the "Project" dropdown. I've been getting no values appearing in the label, instead I just have a red error line under the formula.

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Can you please share the error that you are getting

  • LaurentPMO Profile Picture
    12 on at

    I believe my error relates to the text vs complex formatting. It's giving a text expected data type error. The "Project" field in "Project Info" is a text data type, and the "Project" field in the "Invoices" table is complex. Does this help?

  • LaurentPMO Profile Picture
    12 on at

    I believe my error relates to the text vs complex formatting. It's giving a text expected data type error. The "Project" field in "Project Info" is a text data type, and the "Project" field in the "Invoices" table is complex. Does this help?

  • LaurentPMO Profile Picture
    12 on at

    @NandiniBhagya20 

     

    Could you please help me with the correct syntax for this case?

  • NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    If this formula (LookUp('Project List' ; Project = ProjectSelect.Selected.Project ; 'Admin Fee')) is giving you an error (expected text type...), then you can add a dot and see the properties you are getting. In the below formula i have added Value property:

    LookUp('Project List' ; Project = ProjectSelect.Selected.Project ; 'Admin Fee').Value

  • LaurentPMO Profile Picture
    12 on at

    LaurentPMO_0-1665585195850.png

    This is what I'm seeing now. It says .Project is not a valid name. Any idea what I should do?

  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Try removing ".Project" and add "." again and see what Power App suggests (intellisense). Usually it's Value or Result.

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard