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 / App Crash because Dele...
Power Apps
Answered

App Crash because Deleting Combo Box Selected Item to Filter Gallery

(3) ShareShare
ReportReport
Posted on by 292

Hello Power Apps Community,

 

This it my first encounter of something very weird happening when making application in power apps.

So I have this scenario which should be very simple and working every time.

But since yesterday it becomes undeniably weird.

 

These are brief description about my problem :

 

  1. I have a combo box which contain items from predefined table
  2. I have gallery that contain the same items from the same table
  3. I use the combo box to filter the item in the gallery based on its certain column
  4. Every time I select new item OR changing it to another item, the gallery shows the correct item and working fine
  5. But when I DELETE that selected item in the combo box, then my editor screen went blank.
  6. If I play the app, then somehow it shows the spinner and reload it again

I attached some pictures here, and also gif files so the problem can be clear here.

The working solution for now, I have to use Collection for the gallery to be able to filter it using combo box.

 

Is this some problem with the power apps right now?
Because my already published app also facing this problem.

I hope you guys here can help me.

 

Best regards,

Rizky - Indonesia

2020-11-05_07-55-13.gif
2.jpg
1.jpg
Categories:
I have the same question (0)
  • rizkyaditya Profile Picture
    292 on at

    Hello Power Apps Community,

    Is there any information about this?
    Does anyone experience this kind of glitch?

    The workaround with collection doesn't seem effective because if I need to refresh the data, it means I need to recreate the collection every time.

    Please any advice for this matter is really appreciated.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I have the same problem. I was able to break down the error to the combination combo box and sorting function of the gallery.
    Without "Sort()" there is no crash.

  • turtledave Profile Picture
    4 on at

    I'm having the same issue.  To filter data in my main gallery, I'm using a combination of buttons (that either set variables or are assigned a specific data value) as well as a combo box that pulls from Office365Users. I've noticed that when I select a person and click around, everything is good, but when I "X out" of the combo box, the screen goes blank or goes to the home screen.  This is slightly random, but mostly reliably the same every time. - So glad I found this thread.  I spent half a day trying to figure it out.

  • rizkyaditya Profile Picture
    292 on at

    Hello @Anonymous ,

     

    This is my table for the combo box datasource.

    Table(
     {Title: "Test 1", Content: "This is test 1"},
     {Title: "Test 2", Content: "This is test 2"},
     {Title: "Test 3", Content: "This is test 3"},
     {Title: "Test 4", Content: "This is test 4"}
    )

     
    And this is my gallery items which is just the same table but filtered from the combo box

    Filter(Table(
     {Title: "Test 1", Content: "This is test 1"},
     {Title: "Test 2", Content: "This is test 2"},
     {Title: "Test 3", Content: "This is test 3"},
     {Title: "Test 4", Content: "This is test 4"}
    ),Title = ComboBox1.Selected.Title)

     

    And the apps just look like this.
    This basic function just doesn't work like that it should be.

    The problem just suddenly happened.

     

    rizkyaditya_0-1605059481606.png

     

    I hope somebody from microsoft or the other gurus can help to see solution for this.

  • rizkyaditya Profile Picture
    292 on at
    I've noticed that when I select a person and click around, everything is good, but when I "X out" of the combo box, the screen goes blank or goes to the home screen.

     

    This is so true @turtledave 

    I hope we find a solution for this problem.

    It is so weird because when i use another account to make the apps, the problem is still there.

  • mpuricelli Profile Picture
    5 on at

    Hi,

     

    I'm having the same problem filtering a gallery with Combobox.SelectedItems.


    Unselecting items causes the app to crash in the editor or when running.

     

    I hope someone on the PowerApps team is looking into this, doesn't seem it's a user mistake.

  • ALS Profile Picture
    11 on at

    I am experiencing this same issue with an app I republished yesterday (without changing any of the associated logic).  When a user selects an item in a combobox the associated gallery is correctly filtered.  But when that selection is cleared with the X or another combobox item is multi-selected then the app goes blank or restarts.  This occurs in both the published version and the studio.

     

    I would appreciate any comments on what changed or what we can do to address this.

  • sOliver Profile Picture
    13 on at

    I am experiencing exactly the same issue as described above. I think this has something to do with the Power Apps release version. What I noticed is that if I revert to a previous version which was using Power Apps version 3.20102.16, the app works as expected. However, all Power Apps versions more recent than that with the exact same code will result in app crash / restart of the app. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi ! 

    I'm having the same issue. I have notice that if I change the gallery displaymode to view, gallery don´t crash, but I need to edit the gallery items. 

     

    Thanks

  • Romain_Pham Profile Picture
    38 on at

    I am having the same issue notify this morning by one of my user. 

    I have a combobox with "Allow multiple Selection" set to False, depend on the combobox selection a gallery will be filtered. Other combobox in the app seems that not link with a gallery seems to not have issue. The app will crash in design mode rendering a page with as below and throwing the user back to the welcome screen in Running Mode

    Romain_Pham_0-1605234548317.png

     

    This seems to happen if the user changes more than 2 times his selection in the combobox or if waiting more than 30 sec before making a selection in the Combobox.

    Issue happen on the phone application as well

     

    I confirm as well If set the gallery to View Mode the issue seems to disappear. However as the gallery is used to navigate to other part of the application it's not a valid workaround

     

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard