Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

time range dimention based on a number

$
0
0
HiI would like to create a time range dimention based on a numerical value.so I have a column in my fact table that represents the number of years and I would like the dimention to group the clumns to say <1 year, 1-2 years, 3-5 years, 6-10 years, etcis the only way to do this to create another table with a number field and a group field (as below)?Year Group0 <1 year1 1-2 years2 1-2 years3 3-5 years4 3-5 years5 3-5 years6 6-10 yearsthanks in advance

Viewing all articles
Browse latest Browse all 1341

Trending Articles