Skip to main content

Notifications

Community site session details

Community site session details

Session Id : wNy0iOV3kTq/64RS88bsCW
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
    245 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Loading started