I sold stock a mix of RSU, ESPP, and dividend reinvestments. I first transferred to a new bank, they are long term. I only have one 1099-B. How do I split this to enter?

I have already calculated the proportion sold from each source (there are partial stocks). I think entered this in turbo tax as 3 sales -- proportionally breaking the amount sold into three sales and when I acquired each. However the RSU and ESPP are both showing a $0 cost basis and then isn't counting the gains at all in my taxes. What am I missing?