I am working on a report that is attempting to find a percentage. Initially my code would look like:
= (Fields!Margin.Value) / (Fields!TotalSales.Value) * 100
However the problem is that in some scenarios TotalSales = 0.00 so this is giving me the error. I am not proficient in VBS. How do I do a NULLIF type function to avoid this?