Count if it contains string="1 Week"

0

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 

pawankumar.singh's picture
Joined: Sep 19 2018 - 10:39pm
Last seen: 1 day 13 hours ago

new java.lang.Integer($F{WEEKS}.equals("1 Week" )? 1 : 0 ) use this and set calculation to sum

pawankumar.singh - 6 days 18 hours ago

1 Answer:

0

Resolved Thanks 

 

pawankumar.singh's picture
Joined: Sep 19 2018 - 10:39pm
Last seen: 1 day 13 hours ago
Feedback