dbTalk Databases Forums  

What should I put on fact table to do this analysis ?

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss What should I put on fact table to do this analysis ? in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
tristant
 
Posts: n/a

Default What should I put on fact table to do this analysis ? - 01-20-2004 , 04:26 AM






Hi OLAP gurus,

I try to imlement OLAP in my HR applications.
The customer request :
show me the number of employees per department, district, region , by
master degree and non-master degree, age, etc
* for the corrent month compared to for last year ...
etc.. etc
So here what I analyze is : 'how many employees' that meet this.. and that..
conditions..

The question is :
What should I put on Fact Table as measures ?
(so far I see the aggregate functions that will be done is COUNT)

Thanks for your help,
Krist




Reply With Quote
  #2  
Old   
Phil Austin
 
Posts: n/a

Default What should I put on fact table to do this analysis ? - 01-20-2004 , 09:09 AM






The number of employees is your measure; department,
district, region and degree level would be your
dimensions, in this instance. You could aggregate by
COUNTing a employee identifier, but you might be better
off by specifying an Employee Count field in your
underlying fact table, setting it as 1 for each employee,
and SUMing them.

HTH

Phil

Quote:
-----Original Message-----
Hi OLAP gurus,

I try to imlement OLAP in my HR applications.
The customer request :
show me the number of employees per department, district,
region , by
master degree and non-master degree, age, etc
* for the corrent month compared to for last year ...
etc.. etc
So here what I analyze is : 'how many employees' that
meet this.. and that..
conditions..

The question is :
What should I put on Fact Table as measures ?
(so far I see the aggregate functions that will be done
is COUNT)

Thanks for your help,
Krist



.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.