Forum Discussion
alm0001
1 year agoNew Member
Modeling with multiple date columns in fact table
In the case of a fact_table for a car manufacturing process with a lot of information, in which there are at least 10 to 20 dates, including intermediate statuses, whether it has an initial payment o...
- 1 year ago
Hi alm0001
Regarding the scenario you mentioned,
I would definitely recommend going with the second option of unpivoting the dates.Modeling with so many inactive relationships and relying heavily on USERELATIONSHIP would not only make the model look cluttered but also result in complex DAX calculations. Moreover, it would be difficult to maintain as additional requirements arise.
While unpivoting might add some extra steps in Power Query, it will make the model significantly easier to maintain. If feasible, you could even adopt a star schema using this approach. Overall, the performance and readability of the model would be much better compared to managing numerous inactive relationships.
Ashish_Mathur
Super User
1 year agoHi,
I would prefer method 2.