![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Very quickly without going too deep into the problem could this work... Customer(RecordID, CCode, CurrentRecordID, Name, etc, etc) The CurrentRecordID for the record refers to the RecordID that is active for a particular CCode. e.g. Customer(1,CustomerA ,3 ,0 ,1-1-1980) Customer(2,CustomerA ,3 ,0 ,1-1-1981) Customer(3,CustomerA ,3 ,0 ,1-1-1982) Customer(4,CustomerB ,6 ,0 ,1-1-1980) Customer(5,CustomerB ,6 ,0 ,1-1-1981) Customer(6,CustomerB ,6 ,0 ,1-1-1982) You could in theory make the CCode the parent of RecordID in your Customer dimension and have them grouped at that level. This way you would report at that level whilst retaining type 2 information at the leaf level of the dimension. I think..! ![]() Steve |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
Personally I would treat IsMarried as another dimension. Would that better suit your scenario? Steve |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
if you needed the exact date of the change you would see it in the trend of the cube when you looked a records where IsMarried is "False" the IsMarried is "True" for Customer "John" and as long as you time / date dimensions went to that level of detail. Again this is in my head, it's probably worth modeling it with a doxen records and seeing what comes out. Steve |
#8
| |||
| |||
|
|
hi Guys: Yes Tom, this is a particularly frequent issue. Basically, what you have to do is model each attribute as an independent dimension. Something called "attribute based modeling". So , yur cube will end with something like this Time Year Quarter Month Customer.IsMarried (Steve approach) Customer.MyFLag Customer.Name I know the argument that comes. What about hierarchies? . From a very theorical point of view, a hierarchy is just the sequence of attributes so you cross the data to get more detail. With that in mynd, this model is "hierarchy" friendly, cause you can drag MyFlag, IsMArried and see details. About aggregations ? Do not worry, you´ll use them so not a big issue, more than a ton of dims for the end user. (By the way, better get used to it. That´s the way you´ll see them in Yukon) Sincerely -- Alejandro Leguizamo MVP SQL Server Colombia "Steve McHugh" <steve (AT) oneleg (DOT) net> wrote in message news:1100102262.098485.28510 (AT) f14g2000cwb (DOT) googlegroups.com... if you needed the exact date of the change you would see it in the trend of the cube when you looked a records where IsMarried is "False" the IsMarried is "True" for Customer "John" and as long as you time / date dimensions went to that level of detail. Again this is in my head, it's probably worth modeling it with a doxen records and seeing what comes out. Steve |
#9
| |||
| |||
|
|
Hi Alejandro, Steve, Thanks for your input. Luckily I did choose that route. :-) "Attribute based modeling", I'll keep it in mind... Regards, Tom "Alejo Leguizamo (MVP SQL)" wrote: hi Guys: Yes Tom, this is a particularly frequent issue. Basically, what you have to do is model each attribute as an independent dimension. Something called "attribute based modeling". So , yur cube will end with something like this Time Year Quarter Month Customer.IsMarried (Steve approach) Customer.MyFLag Customer.Name I know the argument that comes. What about hierarchies? . From a very theorical point of view, a hierarchy is just the sequence of attributes so you cross the data to get more detail. With that in mynd, this model is "hierarchy" friendly, cause you can drag MyFlag, IsMArried and see details. About aggregations ? Do not worry, you´ll use them so not a big issue, more than a ton of dims for the end user. (By the way, better get used to it. That´s the way you´ll see them in Yukon) Sincerely -- Alejandro Leguizamo MVP SQL Server Colombia "Steve McHugh" <steve (AT) oneleg (DOT) net> wrote in message news:1100102262.098485.28510 (AT) f14g2000cwb (DOT) googlegroups.com... if you needed the exact date of the change you would see it in the trend of the cube when you looked a records where IsMarried is "False" the IsMarried is "True" for Customer "John" and as long as you time / date dimensions went to that level of detail. Again this is in my head, it's probably worth modeling it with a doxen records and seeing what comes out. Steve |
![]() |
| Thread Tools | |
| Display Modes | |
| |