Number of Sales Days in Year :=
CALCULATE (
    DISTINCTCOUNT ( 'fSales'[creation_date] ),
    ALLEXCEPT ( Calendar, Calendar[Year] )
)
Code beutified with Dax Formatter by SQLBI