Going till Data Matrix; To solve error in derived_vars (NAs)