Skip to main content
Nintex Community Menu Bar
Solved

Formula Value

  • August 1, 2022
  • 5 replies
  • 18 views
  • Translate

Forum|alt.badge.img+2

I have a formula the sometimes requires a negative value.
 

For instance the sum in Agreement Value the original value, plus the previous value, and the negative "this" value needs to be $1,709,000 not -$141,000. 

How do I edit the formula to accommodate a negative value and provide the correct sum?

This is in production so I need to ensure it will not affect any other active calculations.

 

Using Nintex WF Cloud and a Nintex for SharePoint 365 

 

Thanks!

 

 

24875i5444237F96060F12.png24876iC83DF77D454E533A.png

 

 

Best answer by Garrett

Hi @johnreece 

 

Found the Issue. Its the Form Rules

Once the field "Agreement Value" get a negative value, the recalculation will NOT occur.

 

How to Resolve

I suggest the following solution - Update the Form Rule

IF ORIGINAL isFilled or PREVIOUS_VALUE isFILLED or THIS_VALUE isFILLED

THEN AGREEMENT_VALUE value sum(...)  

ELSE AGREEMENT_VALUE value = 0  

 

Screenshot

 

Tested. Verified working. However you should conduct your own detailed Testing

 

Cheers

View original
Did this topic help you find an answer to your question?

5 replies

SimonMuntz
Nintex Employee
Forum|alt.badge.img+22
  • Nintex Employee
  • 2456 replies
  • August 1, 2022
Hi,

I tried to replicate this issue in my NWC Tenant but was not able to. It calculated as expected. Are you able to provide an export of your form?
Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • 904 replies
  • August 2, 2022

Hi @johnreece 

 

Seems like it the Previous Value was omitted out (to get the  -141,000)

 

I got $1,709,000.00

 

Can you try with 2 more sample values and share the screenshots of the result?

Cheers

 

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • August 2, 2022

Hello, export attached. Thank you!

Translate

Forum|alt.badge.img+2
  • Author
  • Rookie
  • 6 replies
  • August 2, 2022

These are the two others reported; the first one is 17325; confirming the issue with 17329 on my end.

A total of three formula errors were reported.

 

 

Translate

Garrett
Forum|alt.badge.img+16
  • Scout
  • 904 replies
  • Answer
  • August 2, 2022

Hi @johnreece 

 

Found the Issue. Its the Form Rules

Once the field "Agreement Value" get a negative value, the recalculation will NOT occur.

 

How to Resolve

I suggest the following solution - Update the Form Rule

IF ORIGINAL isFilled or PREVIOUS_VALUE isFILLED or THIS_VALUE isFILLED

THEN AGREEMENT_VALUE value sum(...)  

ELSE AGREEMENT_VALUE value = 0  

 

Screenshot

 

Tested. Verified working. However you should conduct your own detailed Testing

 

Cheers

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings