Hi, you can do this based on dimensions or in expressions:
On dimensions, uncheck the option to show null values and use this calculated dimension: Aggr(if(sum(X+Y+Z)<>0 and sum(Z+Y+Y)<>0, company.name), company.name)
On expressions, on add-ons uncheck the option to show zero values and add the check in each of the other expressions (diff and value in the sample): if(sum(X+Y+Z)<>0 and sum(Z+Y+Y)<>0, [ColumnExpression])