Forum Discussion

alm0001's avatar
alm0001
New Member
1 year ago
Solved

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...
  • MohamedFowzan1's avatar
    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.