Mid-Sized Firm / Generalist

I work at a top 100 accounting firm and do both audit and tax. I have just under two years of experience and when I started I viewed this as a positive. However, as I progress in my career I believe that being a generalist will hurt my career. I am curious if anyone else has gone through this situation and has any insight.