Hi Ravi
1. Create a Formula Variable F1 and populate the input values of object "Type" by using replacement path
2. Create a formula (Name it as Monitor) and write logic with If condition ( F1 = A)*Monitor + (NOT(F1 = A))*0
3.From properties of structure use "Zero Suppression of Structure Results".
Check if this works or not.