If you were an undergrad for part of the year (at least half time at least one academic period) and then went on to Grad school you can elect "pursuing a degree" for the entire year and include all education expenses.
https://ttlc.intuit.com/replies/5640586