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 / Lookup not working on ...
Power Apps
Answered

Lookup not working on Default: Property Expects Text Values but this propery expects record

(0) ShareShare
ReportReport
Posted on by 109

Part of a wider problem, but if someone can just help me with this tiny bit.

I want that this formula works as a default for a drop-down in a dataform:

LookUp('[dbo].[APPLICATION]',APP_ID = ThisItem.APPLICATION_ID.value)

 

e.g. ThisItem has an APP_ID.

The APP_ID is stored in the MAIN table, and we need to lookup what application it's for in the APPLICATION table.

The absolute simplest thing to do in SQL, like this:

SELECT [MAIN_ID],[APPLICATION_ID],app.APPLICATION

fROM [MobileDataStudio].[dbo].[MAIN]

inner join [dbo].[APPLICATION] app on APPLICATION_ID=APP_ID

 

But PowerApps just says (meaninglessly, and incorrectly) "This Property Expects Text Values but this propery returns incomptiable record values".

I tried putting "Value" after it; it makes no difference, and surrounding the whole thing with text.

Looked it up online but nothing there worked. Seems like "PowerApps" can't even handle a basic select query, or frankly, anything where joined tables are involved. It only works if you have one big table with everything in.

 

Categories:
I have the same question (0)
  • Verified answer
    ShowMeTheAnswer Profile Picture
    109 on at

    Don't know how to delete this but I solved it myself:

    LookUp('[dbo].[APPLICATION]',Text(APP_ID) = ThisItem.APPLICATION_ID,APPLICATION)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard