Forum Discussion

IAM's avatar
IAM
Icon for Helper III rankHelper III
1 year ago
Solved

My brain doesn't function, help! Count overdues in a month.

Hi all,   My brain stopped working, can you help me figure this out?   I have a tabel with a start and finsih date per month (So per row a First day and a Last day of the month) and I want to add...
  • Kedar_Pande's avatar
    1 year ago

    IAM 

    Calculated Column

    OpenAndOverdueCount = 
    VAR StartDate = Report[First day]
    VAR EndDate = Report[Last day]

    RETURN
    COUNTROWS(
    FILTER(
    IW38,
    IW38[Date created] <= EndDate &&
    (ISBLANK(IW38[Date finished]) || IW38[Date finished] >= StartDate) &&
    IW38[Duedate] < EndDate
    )
    )

    💌If this helped, a Kudos 👍 or Solution mark would be great! 🎉
    Cheers,
    Kedar
    Connect on LinkedIn