How do you create a relationship with date table in SQL Server Data Tools

I am using SSDT 2012 to create a tabular model. I have several tables (Order, Order Details, Delivery Details, Item Details etc.) All of these are working fine. I have created relationships between these tables and I can sort and sum my data. My issue however is creating and assigning the date table. I created a data table with many date columns (Date, Month Name, Year, FY etc.) but I cannot get this table to work with all the others. I assigned it as the date table and marked the date column. Then when I do a report and select FY 2015, if gives me every order from the order table. If I create a relationship between the Date field and the Order date field, then it works. However, I cannot have another active relationship with the delivery date and Date field. So in short, how to I make the date table work with all the other table's date field?
jsgrosskopfIS ManagerAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PortletPaulfreelancerCommented:
Are you after how to do this in SSDT, or are you after how do yo do this in SQL?

Please provide the table and field names.

{+ edit} btw: I don't use SSDT so all I can offer s the SQL
sample data and expected result would greatly assist too.
0
mlmccCommented:
I don't use that tool either but the normal way to do that is to add a copy of the date table for each date you need to use it with.

mlmcc
0
ste5anSenior DeveloperCommented:
Haven't tested this with SSDT 2012, but I do it as advised by Kimball: Each date column points to a semantically different dimension. Cause they have the same values, create one complete base date dimenension table. Create views of it to get the semantics. Build the relationships to the according views.
0
jsgrosskopfIS ManagerAuthor Commented:
I finally found this out, there is a calculation you can do in the date table with the "userelationship" variable and all my relationships work. Thanks for all the responses.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jsgrosskopfIS ManagerAuthor Commented:
Solution was found. Thanks for all the comments helping me
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.