This is for graphs of main departure airports to a single destination.
- As before, create a graph by putting month in the column shelf, and one or more measures in the row shelf (eg passengers and flights).
- Filter by year (I only want to show a single year's seasonal cycle) and destination airport.
- Create a calculated field which is just Index() - I named it Rank (which is more or less what it is). Check that it's discrete.
- Filter on Rank, and from the drop-down select 'edit table calculation'.
- Choose sort by departing pax descending (so rank 1 is the biggest) - or whatever you want to rank by.
- In partitioning, select airport of departure.
- When you click OK you get the description something like: Results are computed along ADEP (sorted descending by Sum of Departing Pax) for each Month of Month. In your case, in place of ADEP (=airport of departure) you will see the dimension for each value of which you want a line on your graph.
- From the drop-down on rank in the filter pane, select filter and select the top N boxes, however many you want.
So, it still has quite a few steps, but it avoids calculating combo dimensions.
You can see the results in the 'seasonality at main departure airports' graph in the DepFromAP dashboard. I decided not to make N user selectable, just adds complication for the user.