The best place to get this number is from your originally-filed 2016 federal tax return.
Even if you amended it later, you must use the AGI from the 2016 return you originally filed, even if it's way off.
You won’t find last year’s AGI on:
https://ttlc.intuit.com/replies/3301618
Also, if you used Turbo Tax last year, please be sure you are using the same EXACT username/account you used last year to file. If you need help ensuring you are in the right account, please use this link for further assistance.
You can try the Account Recovery tool at the link below but leave the data field blank. Instead, use the tiny blue link there that says "Try Something Else", and it will look you up by SSN and other parameters.
NOTE: Before running the account recovery tool below, log out of all Intuit accounts including this user forum, or you might end up in a loop. Then clear your browser Internet cache, close your browser, then reopen it, and go to the link below. You may wish to copy this link so you can paste it into the new browser session.