YNAB is a glorified spreadsheet and did not import past data. I found it exceedingly tedious and not helpful. I am currently using Monarch and it’s far, far better. It’s a bit pricey, but so far as I’ve found, it’s the best.
They give you a link that allows others to try monarch for 30 days (rather than their egregiously short trial of like 7 days):