Hi, I have run a regular crosstab query, but it returns blanks where no event exists, and I simply want a list (horizontal) of data that is currently vertical.
This is the data:-
"action_id" "game_id" "status_time"
"1" "1" "4"
"2" "1" "17"
"3" "1" "41"
"6" "1" "53"
"16" "5" "3"
"17" "5" "27"
"33" "8" "84"
"36" "9" "47"
"46" "11" "51"
"47" "11" "63"
"56" "13" "12"
"59" "13" "55"
My ctb query returns all headings for status_time 1-90, so 90 cells, of which only a few have a number in.
eg for matchId 1 I get
1, 0, 0, 0, 4, 0 etc. I just want the data collapsed to show only values that exist.
I would like query to return
"game_id" "status_time", "status_time1", etc
1, 4, 17, 41, 53
5, 3, 27
8, 84
9, 47
11, 51, 63
13, 12, 55
I hope someone can help.
John
This is the data:-
"action_id" "game_id" "status_time"
"1" "1" "4"
"2" "1" "17"
"3" "1" "41"
"6" "1" "53"
"16" "5" "3"
"17" "5" "27"
"33" "8" "84"
"36" "9" "47"
"46" "11" "51"
"47" "11" "63"
"56" "13" "12"
"59" "13" "55"
My ctb query returns all headings for status_time 1-90, so 90 cells, of which only a few have a number in.
eg for matchId 1 I get
1, 0, 0, 0, 4, 0 etc. I just want the data collapsed to show only values that exist.
I would like query to return
"game_id" "status_time", "status_time1", etc
1, 4, 17, 41, 53
5, 3, 27
8, 84
9, 47
11, 51, 63
13, 12, 55
I hope someone can help.
John