Looking for some guidance here. I have a Gallery/DataForm (based on a SP List "ShortFormII") where I am collecting general information relative to projects. I have created a second SP List "ProjectCosts" where I import spend data. These two lists have a common field/column named WONo. While in Power Apps, I would like to select the ShortFormII project and have two Text Labels (ie., "Labor" and "Material") that display the sums of the ProjectCosts based on the common WONo and a secondary field named Title. If the value in Title is between 500000 and 799000, this is Material. If greater than or equal to 800000, costs are Labor.
Following is a pic example...
Labor = sum of ProjectCosts.Field1 where Title is gt 500000 and lt 800000
Material = sum of ProjectCosts.Field1 where Title is gt 800000

What is the best method to achieve?