I need to create frequency reporting using existing data and wondered if there is a quick query/code that would allow this. I need to shift from current format below to the desired format below. Any suggestions?
Current Format
ID M1 M2 M3 M4
Alpha 1 2 3 4
Beta 4 3 2 1
Desired Format
ID Measure Score
Alpha M1 1
Alpha M2 2
Alpha M3 3
Alpha M4 4
Beta M1 4
Beta M2 3
Beta M3 2
Beta M4 1
Current Format
ID M1 M2 M3 M4
Alpha 1 2 3 4
Beta 4 3 2 1
Desired Format
ID Measure Score
Alpha M1 1
Alpha M2 2
Alpha M3 3
Alpha M4 4
Beta M1 4
Beta M2 3
Beta M3 2
Beta M4 1