Hi when i run the following view i get division by 0 errors for the new data this month. can someone show me how to alter it so that only certain parts of the query result in a 0 number and not the entire statement. thanks.

CREATE VIEW dbo.viewTopOfHi erarchy
AS
SELECT TOP 100 PERCENT Yr, Period, COUNT(Employee) AS [Number Of Technicians], ID AS [Month], SUM([Reg Hrs]) AS [Reg Hrs], SUM([OT Hrs]) AS [OT Hrs], ...