Forum Discussion

rpinxt's avatar
rpinxt
Solution Sage
2 years ago
Solved

Circular dependency.....why???

So I have this calculated column returning a nummber : HourDiff = VAR _StartDay = SC2[D1] VAR _EndDay = SC2[D2] VAR _Correction =     IF(_EndDay = 1 && _StartDay < 6 && _StartDay <> 1,       ...
  • lbendlin's avatar
    lbendlin
    2 years ago

    Your calendar table is derived from your fact table.  That is akin to using CALENDARAUTO, and is Very Bad Indeed.

     

    Overcome the urge to create calendar scripts in DAX or Power Query. They are useless.  Use an external reference table.

     

    You also don't need to specify table names in calculated columns.