I have a table that looks like this -
Key |    X      |    Y      |     Z
    |  Date     |   Date    |    Date
1a  | 01-Jan-16 | 15-Jan-16 |
2a  |           | 01-Feb-16 |   
3a  |           |           | 01-Mar-16
I need to do a pivot on this table, to get a resulting table that looks like this -
Key   |   Type   |   Date
1a    |     X    | 01-Jan-16
1a    |     Y    | 15-Jan-16
2a    |     Y    | 01-Feb-16
3a    |     Z    | 01-Mar-16
I've tried multiple versions of Pivot, but they don't get me all the data within these 3 columns. What might the best solution be?
 
     
     
    