dbTalk Databases Forums  

Question about non-additive facts

comp.databases.olap comp.databases.olap


Discuss Question about non-additive facts in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
vaidasd (AT) gmail (DOT) com
 
Posts: n/a

Default Question about non-additive facts - 06-09-2006 , 03:25 AM






Hello,
I have sales commission's data mart. Each record in data mart
corresponds to sales agent's receivable commission from some sale
he/she produced. More than one agent may participate in selling one
thing. In case of two were involved, two records on a mart will
correspond the same sale, but each record will correspond it's own
sales channel (agent's) dimension key:

collumns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission_sum_usd
- commission%
values:
1 101 13 10 10%
1 101 13 15 15%


end users want warehouse browser to display amount sold (the base for
counting in commission). What is correct solution?
To add additional column in COMMISSIONS data mart; in that case this
fact will not be additive:

collumns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission_sum_usd
- commission%
- summ_sold_usd
values:
1 101 13 10 10% 100
1 101 13 15 15% 100


or run a query to COMMISSIONS data mart to get results about
commission, then run a query to SALES data mart, and combine two
results?

Thank you in advance,
Vaidotas


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Question about non-additive facts - 06-14-2006 , 05:33 AM






We must go by our requirements in-sync with guidelines for designing
EDW e.g. If we have any banking table it may contain semi-additive fact
tables but complete information can be derived out of it.

If I have to do this then I would have following columns:
Quote:
columns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission%
- summ_sold_usd
values:
1 101 13 10% 100
1 101 13 15% 100
and I will ask user to have commission_sum_usd in their DB View as a
derived column or may be calculated value in user package.

Regards,
HB




vaidasd (AT) gmail (DOT) com wrote:
Quote:
Hello,
I have sales commission's data mart. Each record in data mart
corresponds to sales agent's receivable commission from some sale
he/she produced. More than one agent may participate in selling one
thing. In case of two were involved, two records on a mart will
correspond the same sale, but each record will correspond it's own
sales channel (agent's) dimension key:

collumns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission_sum_usd
- commission%
values:
1 101 13 10 10%
1 101 13 15 15%


end users want warehouse browser to display amount sold (the base for
counting in commission). What is correct solution?
To add additional column in COMMISSIONS data mart; in that case this
fact will not be additive:

collumns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission_sum_usd
- commission%
- summ_sold_usd
values:
1 101 13 10 10% 100
1 101 13 15 15% 100


or run a query to COMMISSIONS data mart to get results about
commission, then run a query to SALES data mart, and combine two
results?

Thank you in advance,
Vaidotas


Reply With Quote
  #3  
Old   
vaidasd (AT) gmail (DOT) com
 
Posts: n/a

Default Re: Question about non-additive facts - 06-19-2006 , 07:25 AM



Thank you for response, what means "to have commission_sum_usd in their
DB View as a derived column" ?
Is this some end-user tool specific thing?

Vaidotas

bhatnagar.harsh (AT) gmail (DOT) com wrote:
Quote:
We must go by our requirements in-sync with guidelines for designing
EDW e.g. If we have any banking table it may contain semi-additive fact
tables but complete information can be derived out of it.

If I have to do this then I would have following columns:
columns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission%
- summ_sold_usd
values:
1 101 13 10% 100
1 101 13 15% 100

and I will ask user to have commission_sum_usd in their DB View as a
derived column or may be calculated value in user package.

Regards,
HB




vaidasd (AT) gmail (DOT) com wrote:
Hello,
I have sales commission's data mart. Each record in data mart
corresponds to sales agent's receivable commission from some sale
he/she produced. More than one agent may participate in selling one
thing. In case of two were involved, two records on a mart will
correspond the same sale, but each record will correspond it's own
sales channel (agent's) dimension key:

collumns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission_sum_usd
- commission%
values:
1 101 13 10 10%
1 101 13 15 15%


end users want warehouse browser to display amount sold (the base for
counting in commission). What is correct solution?
To add additional column in COMMISSIONS data mart; in that case this
fact will not be additive:

collumns:
- commission_fact_id
- sales_channel_key
- client_dimension_key
- commission_sum_usd
- commission%
- summ_sold_usd
values:
1 101 13 10 10% 100
1 101 13 15 15% 100


or run a query to COMMISSIONS data mart to get results about
commission, then run a query to SALES data mart, and combine two
results?

Thank you in advance,
Vaidotas


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.