bryce.peterson Posted July 14, 2023 Share Posted July 14, 2023 I am currently working on generating a report in a ad hoc area for the business that I work for. I need to create one formula that populates word data.I have tried using this formula: IF(Contains("Sale Area", 'Sale Area A') and Contains("Product Description", 'Toy A'), 'Train') and Contains("Product Description", 'Toy B'), 'Car')These formulas say they are not possible to use because I have to add in a multitude of products into the same formula, but I need it to only populate what is sold in "Area A" and populate what the product sold on that day was in words in the destination. Can anyone think of forumla's that would work for this situation. I have tried everything and have come up empty. Thanks in advance! Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted July 18, 2023 Share Posted July 18, 2023 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
Paul Jimenez Posted July 21, 2023 Share Posted July 21, 2023 Hello,While I do not believe this is possible in a ad hoc view, this may be possible in Jaspersoft Studio. Please see the thread here:https://community.jaspersoft.com/questions/1082351/if-then-else-statementI hope this helps.Paul Link to comment Share on other sites More sharing options...
bryce.peterson Posted July 21, 2023 Author Share Posted July 21, 2023 If it is not possible is it because it isn't possible to nest those formulas like that or just because it is not possible by any function? Link to comment Share on other sites More sharing options...
Recommended Posts
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