I've done something very similar to what you're looking for using home price index data.
It starts off looking like this. One row for each Month/State combination. If I put that in Graph Builder I can see traces that look similar between States (e.g. NV and FL).
So, I want to find clusters of States where the Growth Rate is similar over the years.
To do that, I'll need to reshape the data to get one row for each State (that's what I want to cluster) and one column for each Month (the variables I want to use to determine the clusters). To do that, I use Tables->Split.
Which gives me a table like this. (NB: There are 51 rows because DC is in this data.)
Now I can use Analyze->Clustering->Heirarchical Clustering to group the states.
I usually turn on the Color Clusters options from the red triangle, and for this data, since it represents the States I bring up a map in Graph Builder alongside. Now, as I drag the thumb to choose how many clusters, I can see the map color as well.
Once I've decided on the number of clusters, I save the cluster number to the table using the hotspot.
But that saves the number back to the table after the split and I want that cluster number in the original table. So, I use Tables->Update to get it there.
Now I can use the cluster number to color the traces from my original Graph Builder trellis to see how good it did matching the patterns. I do this by using Cluster in the Overlay role.
I only used three clusters here, there are probably more but I think it does a pretty good job of getting the wiggly States together and the flat states together. Hawaii is a statistical (as well as geographic!) outlier.
Hope that helps.
-Jeff