Merge pull request #26683 from deepeshgarg007/tds_194q_fix

fix(minor): Consider grand total for threshold check