Попробуйте для запроса ниже ...
select * from (
select [FEC_FIS], [ESTADO_DESC] from [DATABASE].[dbo].[TABLE]
WHERE [FEC_FIS] >= CONVERT(DATE,GETDATE()-7) AND [ESTADO] IN (2,8)
GROUP BY [FEC_FIS],[ESTADO_DESC]
)
PIVOT
(
count(YOUR_COUNT_COLOUMN_ID) for ESTADO_DESC in ('PROCESADO CON ERROR','TICKET REPROCESADO')
)