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 / BUG: Functions Lost wh...
Power Apps
Unanswered

BUG: Functions Lost when Grouping / Ungrouping Controls

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

After a long day of PowerApping and making great progress on a complex app, I ran into a HUGE snag. 

 

I think maybe all Grouped elements receive the same Visibility when Grouped. This is not GOOD. Especially if you have Controls with custom visibility set.

 

  • I use the asterisks on form fields to drive a progress bar
  • The asterisk visibility depends on a variable and the content of the field (IsBlank, etc.)
  • After a bunch of work on other areas of the app, I revisited the form and noticed progress bar was not working
  • Looked at each asterisk and ALL OF THE AND FUNCTIONS I had created to control visiblitly were gone and only the variable name remained. 
  • 2018-06-26_17-35-48.png
  • THE GOOD: 
    • I was able to CTRL+Z my way back to the critical change (about 100 CTRL + Z's !) and copy down all my AND functions into a OneNote
    • 2018-06-26_17-30-37.png
  • THE BAD: 
    • When attempting to CTRL + Y my way back to current state, the app got stuck in a loop and just says "Redoing changes" every 6-7 times I click CTRL + Y. 
    • I lost a lot of diverse work (creating new vars, creating new menus, etc.) that is going to be hard to redo

Be careful when grouping / ungrouping items, you may lose custom Visibility you set on individual controls. 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    PS: Please consider voting for my BUG BOUNTY idea: https://powerusers.microsoft.com/t5/PowerApps-Ideas/BUG-BOUNTIES/idi-p/129616#M5463

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Looking closer at this...

     

    Originally each Control had something to the effect of: 

    And(
     varNewPopup, 
     dropdown.Selected.Value = " ")

    The issue occurred after renaming "varNewPopup" to "varNewEvalPopup" and Grouping a bunch of Controls together. Not sure which action was actually responsible. 

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @ericonline,

     

    Could you please share a bit more about the issue within your app?

     

    I have made a test on my side and don't have the issue that you mentioned. Please take a try to modify your formula as below:

    And(
     varNewEvalPopup, 
     dropdown.Selected.Value = " "
    )

    If you have renamed your variable name, please also modify the variable name within the formula where you reference to the variable.

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-xida-msft. Thank you for the response. 

     

    The bug is: 

    • The control WAS originally set to: 
      • And(
         varNewEvalPopup, 
         dropdown.Selected.Value = " "
        )
    • With all controls NOT visible, I changed the variable name from varNewEvalPopup to varNewEval AND ungrouped/regrouped the applicable Controls
    • THEN later when working with the Controls again, ALL original code was overwritten by the new variable name ONLY
    • All original code shown above was GONE and only varNewEval was set.

     

    I've been able to duplicate this on my end. 

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 136 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 109 Super User 2026 Season 2

Last 30 days Overall leaderboard