I have just inherited a new database to maintain. But one of the tables is, well, not great. I could write a complex query to fix this problem, but it would be long and tedious. I am wondering if there is an easier way to it?
The table looks like this :
Name | Data point | Date1 | date 2 | date 3 | date 4 | ... | dateN |
---|---|---|---|---|---|---|---|
alpha | yes | date | date | date | date | ... | date |
beta | no | date | date | date | date | ... | date |
Thing is , what I need it to look like is this :
Name | Data point | DateCat | Date |
---|---|---|---|
alpha | yes | date1 | date |
beta | no | date2 | date |
alpha | yes | date3 | date |
beta | no | date4 | date |
alpha | yes | date2 | date |
beta | no | date1 | date |
Now a crosstab would allow me to go from what I want to what I have, is there an easy way to do the reverse, or is this a "Get your hands dirty and do it manually" situation? I am considering exporting the table, throwing it in to pandas and manipulating it that way, because I know I can do it there. Hoping Access has something built in for this?