473,396 Members | 2,038 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

calculations in access

I'd appreciate your ideas on this. I need to make the calculation for
unemployment rate for three different
data sources (A,B,C) for many countries and age groupings:

unemployment rate = number of unemployed/number of labour force

Right now, these are the tables I have:

source A unemployed (number)
source A labour force (number)
source B unemployed (number)
source B labour force (number)
source C unemployment rate

I`d like to be able to put the unemployment rate data and calculations
for all the data sources in one table in order to make an analysis of
source differences in the figures.

How could this be done? How do you suggest is the best way to set up my
tables, data, query, etc for SQL in Access.

Thanks.

Brian

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #1
2 6070
TblDataSource
DataSourceID
DataSource

TblUnEmploymentStatistics
UnEmploymentStatisticsID
DataSourceID
LaborForce
UnEmployed

Create a query based on both tables so you can include the DataSource field.
Create a crosstab query based on this query and you will put data sources
across the top and a row for LaborForce and a row for Unemployed.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com
"brian kaufmann" <br************@hotmail.com> wrote in message
news:41**********************@news.newsgroups.ws.. .
I'd appreciate your ideas on this. I need to make the calculation for
unemployment rate for three different
data sources (A,B,C) for many countries and age groupings:

unemployment rate = number of unemployed/number of labour force

Right now, these are the tables I have:

source A unemployed (number)
source A labour force (number)
source B unemployed (number)
source B labour force (number)
source C unemployment rate

I`d like to be able to put the unemployment rate data and calculations
for all the data sources in one table in order to make an analysis of
source differences in the figures.

How could this be done? How do you suggest is the best way to set up my
tables, data, query, etc for SQL in Access.

Thanks.

Brian

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 13 '05 #2
Thanks for the suggestion on the sql code. I must admit I'm a newbie to
sql and access, and I'm not sure I see how the calculation of
unemployment rate actually is accomplished in the query.

Perhaps I need to clarify as well on the tables which I've already
created. They are:

Table 1 (data on number of unemployed as reported by source A)
Table 2 (data on number of people in the labour force as reported by
source A)
Table 3 (data on number of unemployed as reported by source B)
Table 4 (data on number of people in the labour force as reported by
source B)
Table 5 (data on unemployment rate as reported by source C)

Each table is basically the following format:

country year agegroup indicator measurement value

Here the field "indicator" can either be unemployment or labour force
depending on the table.
The field "measurement" can be number or rate depending on the table.
value is the actual absolute rate or percentage if rate.

The labour force data and the unemployment data have corresponding age
groups for different countries and years. Each data source (A and B)
have their own values for the same age groups for different countries
and years. So I'd like to compare the difference in calculated
unemployment rates between data source A and B.

Could you clarify the best way to create the query in order to generate
a new table in which the unemployment rate has been calculated for each
data source for corresponding country, year and agegroups.

Thanks again, and looking forward to hearing from you.

Brian
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ben McLaurin | last post by:
When oopeening a form based of a table I need to run a function to do some calculations. Which form event do I need to use that will automatcally run when the form is opened but all the data from...
3
by: brian kaufmann | last post by:
Hi, I had sent this earlier, and would appreciate any suggestions on this. I need to make calculations for unemployment rate for three different data sources (A,B,C) for many countries and age...
3
by: John M | last post by:
Hi, I've been coming up against a failure of a report to display the result of a simple calculation. I have realised that this calculation cannot take place unless the field I am working on is...
6
by: migueltxa | last post by:
Hi all, I have a problem with some calculations in MS Access 2003. I have 3 fields (Qty, Price and VolumeUSD) in a form and the following formula: VolumeUSD = Qty * Price. Qty and VolumeUSD...
4
by: tlyczko | last post by:
Hello, I have read about currency calculations, etc. in this newsgroup, and I understand that currency math will be sufficiently accurate for what I need to do for a mileage/expense report. ...
2
by: Xeijin | last post by:
URGENT I have an assignment to hand in tomorrow, I need to know how to perform numeric calculations in access, I dont know very much about databases so consider this a beginner's query! Well...
4
by: debi.robarts | last post by:
Ok, in my database I have something like this: Date One # of Days to Next Date These calculate a field "Date Two." Because "Date Two" is an expression (calculated by the form), I can't set...
3
by: AZKing | last post by:
Hello, I am trying to create a query to calculate certain fields in from a table. The calculations are pretty simple, they are just counts and sums. Once I run it I get the following error...
1
by: Grubsy4u | last post by:
Grubsy4u Newbie 7 Posts October 5th, 2007 11:31 AM #1 Report calculations --------------------------------------------------------------------------------
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.