As far as the Total Client Failed field goes... Do you want results for any clients that have had a failed backup, or only ones that have not had a good backup?
If the latter, does it matter if it is a full or not? (Kinda would depend on your full/inc schedule compaired to your reporting timeframe I would imaging.)
Here is the query for the results showing any clients with failed backups....
SELECT DISTINCT ms.networkName AS 'Master Server'
, (SELECT COUNT(DISTINCT clientName) FROM domain_Job j WHERE DATEDIFF(day, UtcBigIntToNomTime(j.endTime), GETDATE()) <= 7) AS 'Total Client Backed-up'
, (SELECT COUNT(DISTINCT clientName) FROM domain_Job j WHERE DATEDIFF(day, UtcBigIntToNomTime(j.endTime), GETDATE()) <= 7 AND j.statusCode <> 0) AS 'Total Client failed'
--, CONVERT(DECIMAL(10,2),([Total Client failed] / [Total Client Backed-up])) AS 'Success rate'
FROM domain_Job dj
INNER JOIN domain_image di
ON dj.id = di.jobId
INNER JOIN domain_ImageCopy ic
ON di.id = ic.imageId
INNER JOIN domain_MasterServer ms
ON ms.id = dj.masterServerId