I don't see the logic in how to get your results form your sample data, but this should be a good start
SELECT Party_ID ,SUM(CASE WHEN Status = 'ACTIVE' THEN 1 ELSE 0 END) as Active_Count ,SUM(CASE WHEN Status = 'INACTIVE' THEN 1 ELSE 0 END) as Active_Count FROM yourTable GROUP BY Party_ID
Jim
Everyday I learn something that somebody else already knew