dbTalk Databases Forums  

How to discretize data in a dimension.

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


Discuss How to discretize data in a dimension. in the microsoft.public.sqlserver.olap forum.



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

Default How to discretize data in a dimension. - 08-18-2004 , 08:19 PM






Hello.

I have one level dimension containing data from 0 to 30. There is about 40
of different values. I want to discretize it in a sections like 0 - 5; 5-10;
10-15...... etc. How do this ?



Reply With Quote
  #2  
Old   
Brian Altmann
 
Posts: n/a

Default RE: How to discretize data in a dimension. - 08-19-2004 , 07:43 AM






You could create a standard hierarchy, using a second level to aggregate the
base values, or you can evaluate a more dynamic approach, as explained by Tom
Chester's article on "Banding Dimensions" (www.tomchester.net).
You can also create a one-level dimension with the band values and source
the cube with a fact table view that calculates the correct band for each
record.
Each solution has pros and cons, depends on your exact scenario.
HTH,
Brian
www.geocities.com/brianaltmann/olap.html

"toms" wrote:

Quote:
Hello.

I have one level dimension containing data from 0 to 30. There is about 40
of different values. I want to discretize it in a sections like 0 - 5; 5-10;
10-15...... etc. How do this ?




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.