You have to transfer the 2023 .tax2023 file at the very beginning---before you start entering any new information for 2024.
How to transfer last year’s return?
https://ttlc.intuit.com/turbotax-support/en-us/help-article/import-export-data-files/transfer-last-year-return-turbotax-online/L279eUvY2_US_en_US?uid=m6ayqk1s