Forum Discussion
Role Playing Date Dimensions?
- 11 years agoNo [email protected] recommended solution is to use 2 calendar tables...but I find myself using one calendar table with USERELANTIONSHIP for the other dates most of the times...It depends mostly on how you will report them & the distribution of dates.Either way 2 calendar tables is easier to maintain in complex data models and many date columns.
But I prefer creating a second inactive relationship with ship dates using USERELANTIONSHIP so I can have both of them in the same graph using column from one calendar table
Is a matter of preferences..and habits
I'm missing what you are trying to do. Normally, if I have a date table, I load that into my data model and then create relationships to it from the other tables in my date model.
The main challenge I'm trying to address is that I have a fact table with multiple date columns. If I just have one date table then that table can only be used to filter one of the columns in my fact table. In the Desktop app I can create multiple relationships and select which one I want to be active but in the web app this doesn't seem to be possible. And, even if it was it still wouldn't allow for different visualizations to be using different relationships.
For example if I want to have one chart that is "Average Customer Satisfaction for orders ordered on a weekend" and another chart that is "Average Customer Satisfaction for orders shipped on a weekend" I think I have to have two date tables...
Another role playing example, not date related, would be if I have a Flights table with Origin Airport and Destination Airport columns that both need to relate to an Airports table.
Does that make sense?
- Greg_Deckler11 years agoCommunity Champion
People are going to judge me, but when I get into those situations, I just create two tables from the same source via two queries and am done with it.
Don't judge me...