Either enter the subtotal in your report first and then re-enter it in the formula, or do not enter the subtotal in the formula at all.
Aidha kuingia Subtotal katika ripoti yako ya kwanza na kisha re-kuingia katika formula, au usiingize Subtotal katika formula wakati wote.