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 / New analysis engine
Power Apps
Unanswered

New analysis engine

(1) ShareShare
ReportReport
Posted on by 91
Hi,
I heeded the warning about the new analysis engine being turned on in Feb, and it broke my app. We use custom components to enhance functionality. The new analysis engine is flagging a collection as being invalid, when it shouldn't. We have had to turn it off again. Hoping this is resolved before we are forced to use it in Feb.
 
Error snapshot and Code below:-

ERROR SNAPSHOT
 
CODE
With(
    {
        Revision: LookUp(
            colMyRedlines,
            revision = LookUp(
                colChecked,
                RowNumber = First(rowCounter).Row
            ).Revision
        )
    },
    Patch(
        colMyRedlines,
        Revision,
        {current: true}
    );
    ForAll(
        Revision.pages,
        With(
            {LayersTable: ThisRecord.subLayers},
            If(
                IsBlank(
                    LookUp(
                        LayersTable,
                        Lower(name) = Lower(User().Email)
                    ).name
                ),
                Collect(
                    LayersTable,
                    {
                        name: Lower(User().Email),
                        svg: "",
                        png: "",
                        current: true
                    }
                ),
                UpdateIf(
                    LayersTable,
                    Lower(name) = Lower(User().Email),
                    {current: true}
                );
            )
        )
    );
   
);
Categories:
I have the same question (0)
  • Yevhenii Profile Picture
    6 on at
    Hi,

    I have same issues. Do you happen to know is there any chance it will be possible to turn New Analysis Engine off after February 2025? 
  • IAmIntractable Profile Picture
    280 on at
    If you look at the new engine thread in the experimental features forum, Microsoft has indicated it can be turned off after deployment in February. I recommend posting you concerns and question on that thread.
     
  • McCall Saltzman Profile Picture
    Microsoft Employee on at
     
    I'm a little confused by the code example you provided. In that example, are you attempting to update the `LayersTable` that's part of the With() scope? That's not a supported operation (although sometimes the old analysis engine didn't correctly mark it as erroneous). If you change that to this it should be fine:
     
     ForAll(
            Revision.pages,
            With(
                {LayersTable: ThisRecord.subLayers},
                If(
                    IsBlank(
                        LookUp(
                            LayersTable,
                            Lower(name) = Lower(User().Email)
                        ).name
                    ),
                    Collect(
                        [@LayersTable],
                        {
                            name: Lower(User().Email),
                            svg: "",
                            png: "",
                            current: true
                        }
                    ),
                    UpdateIf(
                        [@LayersTable],
                        Lower(name) = Lower(User().Email),
                        {current: true}
                    );
                )
            )
        );
       
    );
    
     

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
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard