Raizel Posted July 2, 2022 Share 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 Link to comment Share on other sites More sharing options...
Ocean West Posted July 5, 2022 Share 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 ) ) Link to comment Share on other sites More sharing options...
Raizel Posted July 6, 2022 Author Share Posted July 6, 2022 Not sure why the case condition is "AMOUNT" and not "UNITS" as I used. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now