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 / Removal of alert messages
Power Apps
Answered

Removal of alert messages

(0) ShareShare
ReportReport
Posted on by 675

Hi,in the pic below

freshyshreya_0-1668097129037.png

freshyshreya_2-1668097408588.png

freshyshreya_3-1668097538348.png

 

In 5,division of the value in 2 and 3(Value of 2/Value of 3) is happening.When nothing is selected in 1(marked in the pic),no value is there in 2 and 3 and error pops up for the field(marked as 5 in the pic).

 

I want to eliminate this error.Please help!

Categories:
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @freshyshreya 

    First off, you should be referencing the properties of the controls, not just the controls in your formulas.  DataCardValue24 and 20 are controls not values!

    Failing to do so often leads to errors in the app when played for users.

     

    Next, your formula should be changed to the following:

    Round(IfError(Value(DataCardValue24.Text) / Value(DataCardValue20.Text), 0), 2)

     

    That should eliminate your error message.

     

    I hope this is helpful for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard