The investments tab shows you a tally of securities in your demat account. Shares purchased will show up under the Investments tab from T+1 (trade day +1) day. 

While the positions tab shows you open positions for intraday, derivatives, and delivery trades for the day.