SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Using a specific date table in SSAS 2012 Tabular


Using a specific date table in SSAS 2012 Tabular

Author
Message
PhilipRobinson
PhilipRobinson
Valued Member
Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)Valued Member (56 reputation)

Group: General Forum Members
Points: 56 Visits: 270
Hi,

I have created a few fairly basic OLAP cubes using SSAS 2005 in the past. Basically I created a single view that contained all the data that I was interested in used and this as the data view, I then created the calculated columns, dimensions, hierarchies and measures.

I want to start using SSAS 2012 tabular but as I would like to build something a bit more complicated I am working through the microsoft tutorials on the MSDN website. My question is do I need to have a dedicated date table? Obviously I have date fields in my tables order date, created date etc but I do not have a specific date table.

Any thoughts or suggestions would be greatly appreciated.

Many Thanks
Phil
Lowfar
Lowfar
Mr or Mrs. 500
Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)Mr or Mrs. 500 (513 reputation)

Group: General Forum Members
Points: 513 Visits: 909
Hi Phil

It would depend on the type of analysis you wish to perform. If you are going to be doing plenty of Date based analysis e.g. year to date , month to date and period comparrisons then I would create a specific Date table.

To take advantage of the DAX functions that operate with dates you'll need to define the table as a date table in the tabular model. This can be done from the table menu (Table/Date/ Mark as Date Table).

Cheers
-Matt
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