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 / Canvas App Not Getting...
Power Apps
Unanswered

Canvas App Not Getting Related Record in Play Mode

(1) ShareShare
ReportReport
Posted on by 2,323 Super User 2026 Season 1
Hello. I have a canvas app with a gallery connected to a table called Task Responses. That table has a many to one relationship with another table called Task Versions. So each Task Version can have many Task Responses but each Task Response only has one Task Version.
 
In the Task Responses gallery I need to display some information about the related Task Version and also use it for some formatting and conditional visibility of some controls within the gallery. In the editor this works perfectly well, but when I play the app as an ordinary user all the values from the related Task Version come back blank/empty.
 
I tried turning off the explicit column selection in the app settings (retired) but the app won't load properly like that, presumably due to the amount of data it's trying to fetch - I get SQL errors. In any case I don't want to implement retired features in a production app.
 
How can I get around this issue? One of my options is to create formula columns in Task Responses to lookup the relevant record and display values from there as text and numeric columns, but this seems like a lot of work and will make for quite a wide table. Is there another way of simply having the app behave the same way in play mode as in the editor studio?
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    So first we need to figure out what the actual issue is. There aren't enough details here.
     
    Please share the details about the Tables (relative record counts between them), how many columns/fields per are we talking.
    Also, please share your expressions, the flow of your app as it loads, where the data retrieval happens, are you using collections etc.
     
    Since its an App, we would need to see details related to its design and running, as well as whatever SQL errors you are talking about, please share them.
     
    Also, look at using Monitor, for a User to see what, if any errors are happening when they load it versus you. I am guessing you don't have many records associated, and possibly real users do, that or its a different environment and something else is happening.
     
    Try to think about what you would share to someone since they cannot see your screen/app etc :-) and share that with us so we can help.
     
    Cheers
     
  • WillPage Profile Picture
    2,323 Super User 2026 Season 1 on at
    I figured out a fix for this. It's not enough to have the related table referenced as a property of ThisItem in a galley, e.g ThisItem.Relationship.Column, the related table needs to be directly referenced by some control on the screen for it to work. In my case I put a button on the screen with Refresh('Task Versions') as the OnSelect then set the Y value to be off the edge of the visible area. You don't need to ever click the button - just the fact the screen has a control on it that directly references the data source is enough to allow the gallery items to load their related records from the same table.
     
    This only happens in the player, not in the studio so I believe this is a bug.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 519 Most Valuable Professional

#2
11manish Profile Picture

11manish 489

#3
Haque Profile Picture

Haque 327

Last 30 days Overall leaderboard