Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Userelationship wrong result with a used column

Hello ,   I have issues with Userelationship function.   In fact I have two measures :   Total_Amount_Direct = CALCULATE ( SUM (Fact1[money] ); DATESYTD( 'Date_Table'[Date] ); FILTER ( Dime...
  • Anonymous's avatar
    Anonymous
    6 years ago
    Repeating myself... Please never, ever, ever join 2 fact table directly to each other. This is one of the worst things you can do in data modeling. Please use the correct design patterns unless you want to suffer in the future. 2 fact tables must always be joined to common (conformed) dimensions and slicing can ONLY be performed via the attributes of the dimensions, never directly on the columns of the fact tables.

    If you deflect from this golden rule, you'll very soon start creating numbers nobody will be able to understand, including you.

    There are plenty of vids on YT that explain how to build correct models. Please watch them before you shoot yourself in the foot.

    Best
    D