IF expression in template

Hello everyone,
Please, could someone explain to me what I am doing wrong in this expression?
The START expression works perfectly, it’s the IF that doesn’t work.
It is in a table in 3 different columns but on the same line.
any help is appreciated
Thank you so much

What the expression of START does is a summary of the sum of the amount according to tax, as shown in the following image.

What I want is that if the name of the tax is blank that it does not show the line as seen below:

I think you should be incorporating that condition into your START:FILTER, not use a template if.