Hi All,
I'm having a problem while i'm trying to create a data set to generate a report.
So, the challenge....
- I am tracking the job related skills score of a person by Year, Month, Week
- The report is a line chart showing the improvement over last 52 weeks
What i have so far...
- A query that has the year, month and week for the last 52 weeks
- A query of employee, year, month, week and total score
The problem
- I join the emp_score query to the last_52wk query on year, month, week but i only get matches on the dates where skills were update so i'm left with
Year......Month......Week......Emp......Score
2010......1............1............Me........25
2010......1............2...........................
2010......1............3...........................
2010......1............4...........................
2010......2............1............Me........32
2010......2............2...........................
2010......2............3...........................
..so when i try to plot a line graph i get only 2 point. what i need is to get the blanks to fill up with the last score, i.e.
Year......Month......Week......Emp......Score
2010......1............1............Me........25
2010......1............2............Me........25
2010......1............3............Me........25
2010......1............4............Me........25
2010......2............1............Me........32
2010......2............2............Me........32
2010......2............3............Me........32
..this allows for the line graph to show a progressive line.
Anyone got any ideas for getting this done in a query??
Thanks,
Spin.
I'm having a problem while i'm trying to create a data set to generate a report.
So, the challenge....
- I am tracking the job related skills score of a person by Year, Month, Week
- The report is a line chart showing the improvement over last 52 weeks
What i have so far...
- A query that has the year, month and week for the last 52 weeks
- A query of employee, year, month, week and total score
The problem
- I join the emp_score query to the last_52wk query on year, month, week but i only get matches on the dates where skills were update so i'm left with
Year......Month......Week......Emp......Score
2010......1............1............Me........25
2010......1............2...........................
2010......1............3...........................
2010......1............4...........................
2010......2............1............Me........32
2010......2............2...........................
2010......2............3...........................
..so when i try to plot a line graph i get only 2 point. what i need is to get the blanks to fill up with the last score, i.e.
Year......Month......Week......Emp......Score
2010......1............1............Me........25
2010......1............2............Me........25
2010......1............3............Me........25
2010......1............4............Me........25
2010......2............1............Me........32
2010......2............2............Me........32
2010......2............3............Me........32
..this allows for the line graph to show a progressive line.
Anyone got any ideas for getting this done in a query??
Thanks,
Spin.