Dashboard visualization of step times for multiple groups of steps

I am building a visualization where I want to capture how much my users spend time on each step. For individual step, it is a standard and easy thing. However, to capture data that I can use I need to have times for groups of steps. For instance, I want to know how much time is spend on steps 1,2, 3 together and steps 4, 5, 6 together. This should give me two pieces of data 123 and 456. Have averages for these times and compare between users. I can export the data for each step and prepare the viz somewhere else. Can this be done in the dashboard?