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 / Error - "This lookup f...
Power Apps
Unanswered

Error - "This lookup function is not supported for this data source"

(0) ShareShare
ReportReport
Posted on by 15

Getting the following error - Error - "This lookup function is not supported for this data source" even if there are records in the collection.

 

Client has connection inconsistencies at their site.

 

Because I want my app to work offline, I'm uploading all the data from SharePoint into a couple of Collections within the app. All the forms and Galleries are linked to the Collections and I'm using the Patch function to send the data back to the SharePoint List when the device has a connection. In addition, the data is cached in the device in the event that they start the App without a connection.

Categories:
  • v-yutliu-msft Profile Picture
    Microsoft Employee on at

    Hi @arosario ,

    According to your description, your data source is sharepoint list, am I right?

    Usully, in sharepoint list, you could use lookup function.

    So, I think maybe the problem is about your formula.

    Could you show me your formulas in details?

     

    Best regards,

  • arosario Profile Picture
    15 on at

    The data source for the form (frmTankInspection) and gallery (InspectionGallery)  is a collection (CurrentTankInspections). From those I write back to SharePoint Lists using Patch, only if there is a Connection.

     

    InspectionGallery 

    Items:

    SortByColumns(
     If(!IsEmpty(CurrentTankInspections),Filter(
     CurrentTankInspections,
     TankID.Value = TanksGallery.Selected.'Bar Code (Tank ID)'
     )),
     "Created",
     Descending
    )

     

    Form "frmTankInspection" DataSource: 

    CurrentTankInspections

    Items

    InspectionGallery.Selected

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard