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 / Studio erases my formulas
Power Apps
Answered

Studio erases my formulas

(1) ShareShare
ReportReport
Posted on by 427

So,

 

I have a Gallery, and in the Template of that Gallery I have about 10 Labels, with formulas that refer to pieces of data in each record (e.g. ThisItem.Name)...

... Nothing new here.

 

The problem is, If I go and amend the "Gallery.Items" formula (say, tweak the Sort Columns or the Filter)

 - ALL MY LABEL FORMULAS ARE DELETED, and replaced with something generic that PowerApps thinks is correct (It seems to just assign record fields alphabetically).

 

"Oh, I can see you have a really complicated formula in that Label, to be helpful, I am going to remove it so that you have to create that formula again and again every time you change the Gallery Items formula"

 

I suspect that this is another example of Microsoft trying to be "helpful", and in actual fact, ruining all my work, and making everything take twice as long... (just like when trying to format bullet points in Word - Bl***y nightmare!)

 

This can't be the designed behaviour, can it?

Why on earth would PowerApps do something like this?

 

James.

Categories:
  • iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Heya @james_hathaway 

     

    Yeah that sounds like a nightmare - are these the original labels that were included in the gallery or ones you have added?

    This definitely sounds like a bug - is this still occurring, and can you provide steps to reproduce it?

     

    Cheers,

    Sancho

  • Verified answer
    timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    @iAm_ManCat 

    For info, there are some more details about this bug in the following post.

    https://powerusers.microsoft.com/t5/Building-Power-Apps/Why-do-some-canvas-app-galleries-get-completely-scrambled-when-I/m-p/1582931

    It happened to me and the results were horrible to fix. At the time, the behaviour was quite easy to reproduce. Fortunately, I've not encountered this problem since, so maybe Microsoft have fixed this.

    Perhaps if someone else experiences this problem and finds this post through a search, they post a message here so that we know the issue still exists.

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

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard