Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Linking date dimension to multiple tables (dates)

Hi guys, I am having problems with my data model.  I have a table where people book hours (The action table), date = activity date . I have another table where those booked hours (from another...
  • Anonymous's avatar
    Anonymous
    6 years ago

    You should NOT link dates from fact to fact (action to book).

    The direction of the relationship should be monodirectional whenever possible (and I don't see a valid reason to have them bi in this model).


    Remove that relationship between the Action and the Clarity OR leave it inactive and enable it when needed using USERELATIONSHIP.

     

    Then re-think your model based on the business needs. Do you start from Clarity to filter actions? Use a metric to obtain your data and enable the relationship when needed.


    Cases like this require a careful planning of your business needs or you end up in an unmanageable model (and based on what I see you started with the wrong foot).

    Take a basic tutorial on data modeling and relationships in PowerBI. They're not simply arrows with filters, they're fundamental.