Kimball Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

But could a fact become a dimension ever?

3 posters

Go down

But could a fact become a dimension ever? Empty But could a fact become a dimension ever?

Post  2by4 Tue Jul 10, 2012 10:25 am

First, forgive my ignorance, but still very new at DM.

I have two fact tables "WEB_LOGIN" and "EMAIL_SENT". They are related to each other by, among others, a "SUBSCRIBER" dimension.
Each of the facts record individual events (each time they log in into the product website and each time we send them an email about that product).

If I want to see the relationship between the # of emails we send in a time period and the # of times they log in by time
period, does it make sense to create a banded dimension for # of logins as well?

Meaning, I'd like to create a report like this:
0-5 Logins 6-10 logins 11-20 logins 21+ logins
Avg emails sent 1217 2221
As you can see the heading is banded information from one of the fact tables. Is this simply a drill-across capability of BI systems
or is this best approached with a new dimension for the # of logins bands?



2by4

Posts : 5
Join date : 2012-06-25

Back to top Go down

But could a fact become a dimension ever? Empty Re: But could a fact become a dimension ever?

Post  LAndrews Tue Jul 10, 2012 4:22 pm

Typically this type of query is satisfied using the drill across capability of your BI tools. Banding only works when you have fixed interval situations (or no time interval).

If you can define a fixed interval, then you probably would consider an aggregate fact table (with total logins, total_emails etc). You may add a banding dimension to this aggregate fact if it still makes sense..

LAndrews

Posts : 132
Join date : 2010-05-13
Location : British Columbia, Canada

Back to top Go down

But could a fact become a dimension ever? Empty Re: But could a fact become a dimension ever?

Post  ngalemmo Thu Jul 12, 2012 2:20 am

A measure can be calculated and stored as an attribute in a dimension table. But as far as tables go, fact tables are what they are and they don't change.

A common use case are customer attributes used in loyalty and marketing analysis. Categorizations, such as 'frequent shopper', brand affiliations and stuff like that are based on behavior (sales history) with the company.
ngalemmo
ngalemmo

Posts : 3000
Join date : 2009-05-15
Location : Los Angeles

http://aginity.com

Back to top Go down

But could a fact become a dimension ever? Empty Re: But could a fact become a dimension ever?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum