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

Creating an aggregated table

$
0
0
Hi All,So I am an SSAS noob, I have done some tutorials in my distant past, and can work out how to create projects etc.I have a table that I need to create, and I was already thinking about how we could use SSAS for this versus creating it via several stored procedures.So what I need is a table that has in it a month/year date column, an area column and then a sub area column. From here, there are then aggregated values based on the sub area and area and this can be split by date.So in my mind I thought about using the tabular modelling rather than a multidimensional cube (but correct me if I am way off!). I have started by pulling in one of the tables that will give me the aggregate values (ie a count of) that contains both the area and sub area so this can connect to a lookup table for these that we have and also a date which I can then reference back to a top level date table again a lookup.So far, I have my main table and how it connects to the other ones, but then I get stuck. I am ploughing through tutorials but is there a good way of doing this? What I want to look like is this (apologies for crudeness!):[code="other"]Month ID Area Sub Area Aggregate value 1 Aggregate Value 2201610 UK AA 10 15201610 UK AB 2 4201610 UK AC 15 78201610 UK AD 6 6201610 UK AE 80 3201610 UK AF 9 1[/code]Any pointers are appreciated, I can do it with a lot of coding but there has to be a simpler way using AS I feel.Thanks in advance!

Viewing all articles
Browse latest Browse all 1341

Trending Articles