Opacity in an animation doesn't stick
I think I know what’s the problem is. 

The compound clip isn’t working that way because you have probably a “Solids” generator in it. 

Ignore the step of generating the compound clip and build the sliding box and text on top of the main timeline. That should work as you want.