No, old data will keep intact and you won't lose any old data. See the following guide on how to change from http to https in GGoogle Analytics.
https://www.monsterinsights.com/docs/change-the-protocol-of-your-website-from-http-to-https-in-google-analytics/