cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WorkHard
Super User
Super User

All of a sudden getting a "System Analysis Error" in the editor that wasn't there in previous build

I have an app deployed in production. I haven't made any changes and the current build is the Live build.

However, this afternoon I tried to go into the app to make a minor change and I'm suddenly getting a very unhelpful error message that just says

"System Analysis Error" 

WorkHard_0-1662064505611.png

 

This comes from a button press (OnSelect) that worked just fine until now and still works fine in the live version currently in production.

My only guess is that it comes from the newest build (3.22083.16 or any build before the last one from 9 days ago) that was pushed recently by Microsoft.
WorkHard_1-1662064730032.png

 

Ideas?

1 ACCEPTED SOLUTION

Accepted Solutions
WorkHard
Super User
Super User

Figured out the issue.
Looks like in the newest build, PowerApps forces the user to specify the .Text or .SelectedDate when making a comparison. Which I should probably have done from the beginning.

I'm just grateful these new builds that introduce incompatible changes do not affect the live version of apps. (or at least they haven't so far)


Hope this helps someone else.


 

//changed from this
Switch(true,
And(DataCardValue9_1 < DataCardValue4_1,!IsBlank(DataCardValue9_1)),


//to this
Switch(true,
And(DataCardValue9_1.SelectedDate < DataCardValue4_1.SelectedDate,!IsBlank(DataCardValue9_1.SelectedDate)),

 

View solution in original post

1 REPLY 1
WorkHard
Super User
Super User

Figured out the issue.
Looks like in the newest build, PowerApps forces the user to specify the .Text or .SelectedDate when making a comparison. Which I should probably have done from the beginning.

I'm just grateful these new builds that introduce incompatible changes do not affect the live version of apps. (or at least they haven't so far)


Hope this helps someone else.


 

//changed from this
Switch(true,
And(DataCardValue9_1 < DataCardValue4_1,!IsBlank(DataCardValue9_1)),


//to this
Switch(true,
And(DataCardValue9_1.SelectedDate < DataCardValue4_1.SelectedDate,!IsBlank(DataCardValue9_1.SelectedDate)),

 

Helpful resources

Announcements
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.

Top Solution Authors
Top Kudoed Authors
Users online (1,444)