I found the answer and have posted it below.
cast(SUM(CASE WHEN DJ.GROUPS3 IN ('33.3% <= x <= 100%', '16.7% <= x < 33.3%')
THEN cast(FAT.TRANSACTION_AMOUNT as real)
WHEN DJ.GROUPS3 IN ('60% <= x <= 100%', '20% <= x < 60%')
THEN cast(FAT.TRANSACTION_AMOUNT as real)
ELSE NULL
END)) as integer) as CAPABILITY,
You take the sum and cast outside the case statement.