Forum Discussion

ChemEnger's avatar
ChemEnger
Icon for Advocate V rankAdvocate V
6 years ago
Solved

Filter on a measure

Hi,   I feel that this should be simple but my solution isn't working.   I have some records that belong to various departments that have an [Outcome] of either Within Target or Overdue.  I have ...
  • az38's avatar
    6 years ago

    Hi ChemEnger 

    for example, you can try to add a column

    Department has Overdue records = 
    var _count = CALCULATE(COUNTROWS(Table), ALLEXCEPT(Table, Table[Department]), Table[Count of Overdue] > 0)
    RETURN
    IF(_count > 0, TRUE(), FALSE())

    then filter by this column