Subitem Summary in Main Item

Is it possible for subitems to be summarized in a main item? For example we would like the hours total to be included in the main item’s column vs. a new summary column? The hours in the main item should hold the hours from the sub items correct? Same with the timeline?