Skip to main content

Notifications

Community site session details

Community site session details

Session Id : JaY80JXF2vC1HYnoRz9l1H
Power Apps - Building Power Apps
Answered

How to disable error message?

Like (0) ShareShare
ReportReport
Posted on 22 Feb 2022 09:48:03 by 38

Hi all, in my application an if check is executed. 

 

 

 

If(achelivello.Run(Label8).livello = "liv1"; Navigate('Livello 1'); If(achelivello.Run(Label8).livello = "liv2"; Navigate('Livello 2'); If(achelivello.Run(Label8).livello = "liv3"; Navigate('Livello 3'); If(achelivello.Run(Label8).livello = "liv4"; Navigate('Livello 4'); If(achelivello.Run(Label8).livello = "liv5"; Navigate('Livello 5');If(achelivello.Run(Label8).livello = "liv6"; Navigate('Livello 6');If(achelivello.Run(Label8).livello = "liv7"; Navigate('Livello 7'); If(achelivello.Run(Label8).livello = "liv8"; Navigate('Livello 8');If(achelivello.Run(Label8).livello = "liv9"; Navigate('Livello 9');If(achelivello.Run(Label8).livello = "liv10"; Navigate('Livello 10');Navigate('GiĂ  completato')))))))))))

 

 

 

control is executed in my application. Because of this when I get an Error Message back does anyone know how to fix or disable this message 
image.png

  • PowerSA Profile Picture
    85 on 15 Nov 2023 at 10:53:42
    Re: How to disable error message?

    Thanks that fixed it for me. I was getting a "Invalid operation: division by zero." error on startup.

  • KurtHDAL Profile Picture
    on 03 Aug 2023 at 23:32:15
    Re: How to disable error message?

    In any screen select "App"

    KurtHDAL_0-1691105475342.png

    Then in the Advanced properties, put "" in the OnError field:

    KurtHDAL_1-1691105523475.png

     

     

  • NewBee117 Profile Picture
    247 on 10 Jul 2023 at 14:55:16
    Re: How to disable error message?

    Same here, RemoveIf works, so need to hide the error (platform bug?).

  • jv123 Profile Picture
    200 on 19 Dec 2022 at 20:12:21
    Re: How to disable error message?


    Hi, v-xiaochen-msft

     

    Can you be more specific with the syntax for iferror? I don't see any examples for my scenario. I need to hide a removeif function error for:

    RemoveIf(RrpTngDtls,IsBlank(Hours));

     

    The function works so I assume it is a platform bug. So I want to hide the error.

     

     

  • Verified answer
    v-xiaochen-msft Profile Picture
    on 28 Feb 2022 at 05:38:53
    Re: How to disable error message?

    Hi @MattiaD ,

     

    "but I would like to know how to hide the error message"

    As I mentioned before, Iferror can hide error messages.

    vxiaochenmsft_0-1646026618293.png

    vxiaochenmsft_1-1646026630945.png

    vxiaochenmsft_2-1646026659808.png

    The second button will not show an error message after clicking on it.

    Does this work for you?

     

    Best Regards,

    Wearsky

     

     

     

  • MattiaD Profile Picture
    38 on 28 Feb 2022 at 05:29:18
    Re: How to disable error message?

    Hi @v-xiaochen-msft,

     

    The error message is fine, but I would like to know how to hide the error message when the app is used.

     

    Best Regards,
    Mattia

  • v-xiaochen-msft Profile Picture
    on 25 Feb 2022 at 02:35:20
    Re: How to disable error message?

    Hi @MattiaD ,

     

    You could use IfError() function to catch Error.

    vxiaochenmsft_0-1645756351298.png

    vxiaochenmsft_1-1645756492846.png

     

    Best Regards,

    Wearsky

     

     

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!

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 - Building Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 68 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 41 Super User 2025 Season 1

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 38

Overall leaderboard