Raizel Posted July 2, 2022 Posted July 2, 2022 (edited) 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. Edited July 3, 2022 by Raizel
Ocean West Posted July 5, 2022 Posted July 5, 2022 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 ) )
Raizel Posted July 6, 2022 Author Posted July 6, 2022 Not sure why the case condition is "AMOUNT" and not "UNITS" as I used.
Recommended Posts
This topic is 869 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 accountSign in
Already have an account? Sign in here.
Sign In Now