cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PPSA
Resolver II
Resolver II

Losing data when close and open again

Morning all, 

I've spent this morning  trying to rectify what I though was lost work from Friday, I have no idea why it is performing like it is so would appreciate some help, please.

I have a gallery that is linked to a sql view, the items property of this is
GroupBy(SortByColumns(Filter('[dbo].[Lichfield_Transactions]',Sts="A"&&!IsBlank(BOOKING_REF)),"PICKUP_DATE",Ascending),"BOOKING_REF","DATA")

Inside this gallery I have another gallery, it's items property is

GroupBy(ThisItem.DATA,"Sales_Del_No","DATA2")

As I write this, my screen looks like below, all as expected.

PPSA_0-1596451347027.png


Now when I save, close, and re open It looks like below.

PPSA_1-1596451491437.png

It only shows one item for each inside my subgallery, and stops displaying the DN label (which is just ThisItem.Sales_Del_No)

The fix for this is simply to edit my items property on my subgallery - I change it to ThisItem.Data and then back to what it was orignally - GroupBy(ThisItem.DATA,"Sales_Del_No","DATA2") and it's all back to working order.

Obviously this isn't going to be functional though when published.

Any ideas what's going on here?

Thanks all.







5 REPLIES 5
PPSA
Resolver II
Resolver II

I tried configuring the page and how each gallery is linked differently.

PPSA_0-1596462419653.png


Instead of using nested galleries i have just inserted 3 seperate galleries.

The left gallery is the same as in my previous post's main gallery.

The upper right gallery has it's items property set to - 

GroupBy(Gallery12.Selected.DATA,"Sales_Del_No","DATA2")

Lower right is

Gallery16.Selected.DATA2

Same issue though when i close and re open the app, I have to modify the second gallery's items and then back to what it should be.

Bumping this up as I'm at a loss still.

Having the same issue... Was this a bug introduced by an update to the platform?

Still not working correctly.

Anyone?

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,064)