Jump to content
Server Maintenance This Week. ×

calculated field


This topic is 668 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I am trying to have my CURRENT (number calculation) field display results (DESIRED) based upon 4 scenarios. Using a CASE function. Two work, two do not. The CASE statement shown in example is one, I've separated to make it easier to distinguish the scenarios.

image.thumb.png.182f822a0d6d73cae5bec54a78109835.png

Edited by Raizel
Link to comment
Share on other sites

Not sure if this is what your after:

Case ( 
amount < 0 ; -( units * per unit )  ;
amount > 0 and units > 0 ; units * per unit ;
amount > 0 and IsEmpty ( units ) ; balance * per unit ;
amount > 0 and units > 0 ;units * per unit ;
amount > 0 and units < 0 ; Abs( units * per unit )
)

 

Link to comment
Share on other sites

This topic is 668 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.