I am trying to group \'unique_id\', and sum \'sum_ni\' if \'twelve_wks_prior_TF\' is True.
This is what I have but I cannot re-use this variable in other fields. After re