Dynamic styling in a repeating group

This forum post ended up being the solution to my problem thank you!