pawankumar.singh Posted November 30, 2019 Share Posted November 30, 2019 Hi Guys,I need help to count the strings value that it how many times occurs in fields. I tried with using variable but no luck formate of my vairable is $F{Weeks}=="1 Week" and calculation is set to count/sum but it always return 0 value to variable.Help is appreciated !Thanks In advance :)Thanks Pawan Link to comment Share on other sites More sharing options...
Solution pawankumar.singh Posted December 2, 2019 Author Solution Share Posted December 2, 2019 Resolved Thanks Link to comment Share on other sites More sharing options...
pawankumar.singh Posted December 2, 2019 Author Share Posted December 2, 2019 new java.lang.Integer($F{WEEKS}.equals("1 Week" )? 1 : 0 ) use this and set calculation to sum 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