How to Auto-calculate Duration form Activity with more than 1 resources loaded

Member for

16 years 3 months

make sure that the activity type is resource dependent this will use the resource with the largest mamhours or units to determine the duration.