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 / First Gallery not show...
Power Apps
Unanswered

First Gallery not shown in published app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

I have a screen with 3 galleries connected to CDS.

When I hit play in debug it works as expected and the 3 galleries are filled with data.

When I publish the app and play the published version.. only the last 2 galleries are filled with data. The first one is not filled with data.

 

Why is the behavior different between debug preview and publish app?

 

Thank you

Categories:
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Left is debug preview right is published app.

    Left is debug preview. Right is published app.Left is debug preview. Right is published app.

  • v-jefferni Profile Picture
    Microsoft Employee on at

    Hi @DavidCharron ,

     

    Could you please share more details about that un-displayed gallery? What does its Items property hold? Have you changed its Visible property? Sorry for not able to locate the issue since lack of details.

     

    If is possible, please provide information about that gallery as much as you could.

     

    Best regards,

    Community Support Team _ Jeffer Ni

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-jefferni 

     

    I have pin pointed the issue to the Sort function. 

    Here is more information

     

    Data stored in CDS

    Table A has parent relationship with Table B

    Table A has parent relationship with Table C

    Table A has parent relationship with Table D

     

    Table A is displayed in GalleryA in Screen1

    Table B is displayed in  GalleryB in Screen2 setting its Items to GalleryA.Selected.TableB (this works)

     

    Table B is displayed in  GalleryB in Screen2 setting its Items to Sort(GalleryA.Selected.TableB,'Columnname') (this does NOT work specifically for TableB.)

     

    It work 2 other Gallery in Screen2 displaying  Sort(GalleryA.Selected.TableC,'Columnname')and Sort(GalleryA.Selected.TableD,'Columnname')

     

    Thanks for your help.

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

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard