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 / Runtime error a non fi...
Power Apps
Unanswered

Runtime error a non finite number

(0) ShareShare
ReportReport
Posted on by 81

Hi

 

I made a calculation in a default field and it returns an non finite number.

I don't know how to solve it. If I calculate it myself, it's indeed 664561,833333333... but how do I change it to 2 decimals?

 

I tried the round function but that doesn't help.

Sarah_cool_0-1677865851866.png

 

Categories:
I have the same question (0)
  • timl Profile Picture
    37,212 Super User 2026 Season 1 on at

    Hi @Sarah_cool 

    You can wrap your exisiting formula inside a call to Text:

    Text(<InsertYourExistingFormula>,
     "#.00"
    )
  • SebS Profile Picture
    4,824 Super User 2026 Season 1 on at

    @Sarah_cool 

     

    Did You try to just wrap it in Text(num,"0.0") ? and than wrap  Value() ? will look like abomination 🙂 but maybe it will work 😉

  • Sarah_cool Profile Picture
    81 on at

    @SebS @timl 

    the text() function doesn't help, the errors stays 😞

    If(And("One time" in DataCardValue4_2.Selected.Value, "2022" in DataCardValue42.Selected.Value),Value(DataCardValue21_2.Text),If(And("Contract" in DataCardValue4_2.Selected.Value, 
    DataCardValue43.Selected.Value <= 2022,DataCardValue44.Selected.Value >= 2022), Value(DataCardValue21_2.Text)/(DataCardValue44.Selected.Value - DataCardValue43.Selected.Value +1),0))

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 494

#2
WarrenBelz Profile Picture

WarrenBelz 352 Most Valuable Professional

#3
11manish Profile Picture

11manish 323

Last 30 days Overall leaderboard