Hi,
I am trying to create the attached chart using access. Below is the query I have so far
I need to find a way to transpose the out put of the query to be able to use the chart function in the report. Is that possible.
I need the headers in the query to be the x-axis values and the sum values to be the y-axis values
Am I looking at it in a wrong way. Any recommendation is greatly appreciated
Thanks
RB
I am trying to create the attached chart using access. Below is the query I have so far
Code:
[SIZE=3][FONT=Calibri]SELECT Abs(Sum(IIf([DurationOpen]<=30,"1","0"))) AS [0 - 30 Days], Abs(Sum(IIf([DurationOpen]>31,"1","0") And IIf([DurationOpen]<=60,"1","0"))) AS [31 - 60 Days], Abs(Sum(IIf([DurationOpen]>61,"1","0") And IIf([DurationOpen]<=90,"1","0"))) AS [61 - 90 Days], Abs(Sum(IIf([DurationOpen]>91,"1","0") And IIf([DurationOpen]<=180,"1","0"))) AS [91 - 180 Days], Abs(Sum(IIf([DurationOpen]>181,"1","0") And IIf([DurationOpen]<=365,"1","0"))) AS [181 - 365 Days], Abs(Sum(IIf([DurationOpen]>366,"1","0") And IIf([DurationOpen]<=730,"1","0"))) AS [366 - 730 Days], Abs(Sum(IIf([DurationOpen]>731,"1","0") And IIf([DurationOpen]<=1095,"1","0"))) AS [731 - 1095 Days][/FONT][/SIZE]
[FONT=Calibri][SIZE=3]FROM qryCAPADurationOpen;[/SIZE][/FONT]
I need the headers in the query to be the x-axis values and the sum values to be the y-axis values
Am I looking at it in a wrong way. Any recommendation is greatly appreciated
Thanks
RB