Forum Discussion

Vinit's avatar
Vinit
Frequent Visitor
3 years ago
Solved

DAX Divide Formula

Hi, I want DAX formula for Divide, it likes, Measure = No. of product / (no. of days between two dates - 1 - No. of Sundays in selected period)   Measure = COUNT('Production of the day'[products...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi

    Just count the number of days without sundays, it is easier

     

    Working Days = 
    CALCULATE(
        COUNTROWS('Date Table'), 
        FILTER('Date Table', 
            Not WEEKDAY('Date Table'[Date],2) in {7}
        )
    )