Skip to main content

Notifications

Community site session details

Community site session details

Session Id : BD2cEuqJFOh+yWvxXWz7Jr
Power Apps - Power Apps Experimental Features
Unanswered

New analysis engine

Like (1) ShareShare
ReportReport
Posted on 3 Jan 2025 06:37:40 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}
                );
            )
        )
    );
   
);
  • McCall Saltzman Profile Picture
    on 14 Jan 2025 at 22:08:21
    New analysis engine
     
    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}
                    );
                )
            )
        );
       
    );
    
     
  • IAmIntractable Profile Picture
    258 on 08 Jan 2025 at 20:47:27
    New analysis engine
    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.
     
  • Yevhenii Profile Picture
    6 on 03 Jan 2025 at 09:04:12
    New analysis engine
    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? 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Experimental Features

#1
mmbr1606 Profile Picture

mmbr1606 17 Super User 2025 Season 1

#2
stanmiller95 Profile Picture

stanmiller95 16

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 14

Overall leaderboard

Featured topics

Loading started