title: Jasper Report with sum of Field used in another Group
body: <p>I need to do sum of Qte Cde field in Group flag_date_depasses define with number 2 in below image. </p>
  
  <p>I have tried following: taken variable and add Quantity in one variable and reset this variable when group flag_date_depassed changes.</p>
  
  <p><a href="https://i.stack.imgur.com/gXAhw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gXAhw.png" alt="enter image description here"></a></p>
  
  <p>Just need the sum of Quantity in another Group.</p>