Self employed

Thanks @Bsch4477! So I assume that the denominator for mileage would also be just the total miles I drove in the first 7 months, e.g. in the first 7 months, I drove a total of 4,000 miles, 800 for business = 20% use for business; for 2021 a total of 8,000 miles = 10% for business. I ran my business as a sole proprietor and thus there are some expenses where it would be better to claim the whole year and some (like the car) where it would be beneficial to only claim the time where I was actively self-employed. Do I have the choice?