Welcome, Guest
Username Password: Remember me
Please ask here your questions related to DAX and PowerPivot for Excel or PowerPivot for SharePoint. To post your question or reply you need to login first!
  • Page:
  • 1

TOPIC: Date dimensions for PowerPivot

Date dimensions for PowerPivot 1 year, 12 months ago #62

I am attaching to SQL Server and downloading a fact table that has several date fields. I am also downloading a date dimension table that has Year, MonthName, Year-Qtr-Month, etc. so I can use that data in the pivot table. When I join the two tables on the datekey, I can only use the date dimension table one time. Do I need to download multiple versions of the table to use for each of the date fields or do I need to use calculated fields to get the information?

What is the best way to handle this issue?

Thanks
Terry

Re:Date dimensions for PowerPivot 1 year, 12 months ago #63

  • Vidas
  • OFFLINE
  • Moderator
  • Posts: 65
  • Karma: 3
Hi Terry,

There is a known limitation in PowerPivot v1 as you can have just one relationship between 2 tables. PowerPivot documentation states:

There can be only one relationship between each pair of tables. That is because the existence of multiple relationships could result in ambiguous dependencies between tables. To create accurate calculations, you need a single path from one table to the next table.

Loops are not allowed among relationships in a Gemini database. In other words, the following set of relationships is prohibited.

Table 1 primary key to Table 2 primary key
Table 2 primary key to Table 3 primary key
Table 3 primary key to Table 1 primary key


To resolve this - load your date table into PowerPivot multiple times and give this table unique name, example : OrderDate, ShipDate, ReceivedDate, etc. Then join each date table back to fact table.
Please click on the "Thank you" button for replies that are helpful!

Re:Date dimensions for PowerPivot 1 year, 11 months ago #68

  • vizubi
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Terry,

Managing time dimensions in Excel and PowerPivot is cumbersome and time consuming.

Check out this video to see how we deal with the problem:

http://vizubi.com/2010/01/video-how-to-c...use-time-dimensions/


Best
Ruggero
Vizubi: the Business Intelligence Excel plug-in
  • Page:
  • 1
Moderators: Vidas, dgosbell
Time to create page: 0.24 seconds
 

Varigence Vivid