Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


How to count the dimension members - Using Factless fact?


How to count the dimension members - Using Factless fact?

Author
Message
busysatish
busysatish
Forum Newbie
Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: General Forum Members
Points: 1 Visits: 31
I m using a factless fact table fact_paymentplan and the structure is as below. I have different dimensions policy, date, paymentplan, productline, region, property etc.;

fact_paymentplan
=============
PolicyKey,
EffectiveDateKey,
ExpirationDateKey,
paymentplankey,
ProductLinekey,
regionkey,
propertykey,
TransactionEffectiveDateKey,
StatusKey

In the Dim_policy table I have the data as below -

Policykey Paymentplan ......
1 3-monthpayplan
2 3-monthpayplan
3 4-monthpayplan
4 5-monthpayplan
5 4-monthpayplan

Dim_paymentplan

-1 -1 Unknown
1 3 3-pay
2 4 4-pay
3 B 11-pay Monthly
4 M 12-pay Monthly
5 F Full Pay

Now I wanted to get the count of number of payment plans by state, company, product and payplan...

For this reason, I designed a factless fact and try to get the count...Already I have a cube with other fact tables and dimension tables existing..Now based on the requirement to get the count of paymentplans, I got to design this additional factless fact and the Dim_paymentplan dimension. Please advice on how to do this in Analysis services ?
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search