Formula Does not Update the right way

Tags: #<Tag:0x00007fee2aacfcb8>

The formula does not update the right way after remove mass rows in the table , But if i remove few rows the formula update the right way . here i attach some pics .

I am blessed of any help can provide .
Thnk you.

Hi @idrez.mochamad

I see that you have a custom implementation of removing multiple rows. Can you please share a code demo?