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 / Arguments to the + fun...
Power Apps
Answered

Arguments to the + function must be finite.

(0) ShareShare
ReportReport
Posted on by 920 Super User 2024 Season 1

Hi,

 

Does anyone know where :

 

wonka1234_0-1695311948765.png

 

 

does anyone know why this is? How do i fix this?

Categories:
I have the same question (0)
  • ANB Profile Picture
    7,252 Super User 2026 Season 1 on at

    Hi @wonka1234 , Have you checked this https://powerusers.microsoft.com/t5/Building-Power-Apps/Runtime-Error/td-p/2125312

     

    ------------------------------------------------------------------------------------------------------------------------------

    I hope this helps.

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs up.

    Thanks,
    ANB

  • CarlosFigueira Profile Picture
    Microsoft Employee on at

    @wonka1234 what is the expression where you are seeing this error? There should not be any non-finite values created in Power Fx expressions, so if this error is being show it means that something gone wrong with the values that are being added.

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @ANB i seen this, but im not sure how to identify which card it is beloning too...

    @CarlosFigueira  this is when i link into the app, the link that is shared to all my users

  • Verified answer
    CarlosFigueira Profile Picture
    Microsoft Employee on at

    Can you run the app with the Monitor? If so, it should contain a trace which indicates which control / property has that error. If not, you can update the App.Error property to give more details about that error, something like the expression below:

    If(
     FirstError.Message = "Arguments to the + function must be finite",
     Notify($"Error details: {FirstError.Kind} - {FirstError.Source} - {FirstError.Observed} - {FirstError.Message}"),
     Error(FirstError) // if not that error, let it bubble up
    )

    If you want to make sure that other users don't see this, you can also add another guard for that, something like

    If(
     Param("MyGuard") = "OnlyMe" And FirstError.Message = "Arguments to the + function must be finite",
     Notify($"Error details: {FirstError.Kind} - {FirstError.Source} - {FirstError.Observed} - {FirstError.Message}"),
     Error(FirstError) // if not that error, let it bubble up
    )

    And when opening the app, add the following argument to the URL: &MyGuard=OnlyMe - for example, if your app is at https://apps.powerapps.com/play/e/aaaaaaaa-bbbb-cccc-dddd-eeeeffffffff/a/00000000-1111-2222-3333-444455555555?tenantId=66666666-7777-8888-9999-000011111111&source=portal, you can add that at the end and open the app at https://apps.powerapps.com/play/e/aaaaaaaa-bbbb-cccc-dddd-eeeeffffffff/a/00000000-1111-2222-3333-444455555555?tenantId=66666666-7777-8888-9999-000011111111&source=portal&MyGuard=OnlyMe. Hopefully that will give more details about the error.

  • wonka1234 Profile Picture
    920 Super User 2024 Season 1 on at

    @CarlosFigueira thanks! u the man!

  • sasrsc Profile Picture
    678 on at

    @CarlosFigueira I've spent the last 4 hours trying to figure out why when running an app I was getting the invalid operation: division by zero. The edit mode/monitor weren't finding it. But you're little tip gave me a clue at what object property in an extensive app was the culprit. Thank you. Brilliant.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 528

#2
WarrenBelz Profile Picture

WarrenBelz 426 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard