Hello,
There are many different ways to do this. One of most effective is if you have QuickBooks Online Plus, setup the properties or units as classes. That way you can assign the income and expenses to each unit and run a Profit and Loss by property.
(picture below)