Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Sum the line items based on condition

Hi everyone, I'm trying to write a formula for the conditions below. Someone please help me write a code for the condition.  Here for the number of days, I'm want to calculate no of days based...
  • johnt75's avatar
    3 years ago

    Try

    Total Days =
    SUMX ( 'Table', IF ( 'Table'[Hours] > 0, 1 ) )