whitespace
Registered User.
- Local time
- Today, 07:15
- Joined
- Aug 30, 2005
- Messages
- 51
Hello all,
We have had this ongoing problem that I'm sure must be fairly simple if we know how. Basically we have a lot of data in different groups that for example we need to display for specific years e.g. the last 5 years.
The trouble is, as the data is calculated, there may not be data for a certain year and so this whole row isn't stored in the data.
When we pull it into Excel though, we NEED a row for each year, even if there is no data for that year.
I've tried using LEFT/RIGHT joins to a table of years e.g.
tblYears:
Year
2002/03
2003/04
2004/05
2005/06
2006/07
2007/08
but this does not work, it still doesn't display 2003/04 of the linked table if no data is for this school. I've tried checking for nulls etc. but no joy.
We currently get around this problem by using vlookups in Excel but I'm sure this is unneccessary as it get's complex.
We have this same prob when displaying standard groups of data too.
Any help would be a great help.
Many thanks
We have had this ongoing problem that I'm sure must be fairly simple if we know how. Basically we have a lot of data in different groups that for example we need to display for specific years e.g. the last 5 years.
The trouble is, as the data is calculated, there may not be data for a certain year and so this whole row isn't stored in the data.
When we pull it into Excel though, we NEED a row for each year, even if there is no data for that year.
I've tried using LEFT/RIGHT joins to a table of years e.g.
tblYears:
Year
2002/03
2003/04
2004/05
2005/06
2006/07
2007/08
but this does not work, it still doesn't display 2003/04 of the linked table if no data is for this school. I've tried checking for nulls etc. but no joy.
We currently get around this problem by using vlookups in Excel but I'm sure this is unneccessary as it get's complex.
We have this same prob when displaying standard groups of data too.
Any help would be a great help.
Many thanks