Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Count of Discrepancy Based on Date

Hello,   We're trying to count the # of discrepancies occuring over time. The thing is, once a discrepancy has been closed, it's status appears as closed in the table (Check field Discrepancy.Statu...
  • richbenmintz's avatar
    richbenmintz
    5 years ago

    Hi aj1973 , 

    Add another relationship from your date table to your facts on the close date. you can then create a measure that counts the closed by date as

     

     

    closed = calculate(countrows('table'), 'date_closed' <> blank(), userelationship('date'[date], table[date_closed]))