Forum Discussion

djossma's avatar
djossma
Regular Visitor
3 years ago
Solved

Creating a measure to Count based on conditions from another measure

Hello Community,   I am trying to create a card that displays the number of territories that total outside of a range of 0.85 to 1.15 in a measure that calculates this index.   Does anyone have a...
  • CNENFRNL's avatar
    CNENFRNL
    3 years ago
    CNT =
    COUNTROWS(
        FILTER(
            ALLSELECTED( CustomerWorkloadIndex[Territory_KeyId] ),
            VAR __cwi = [CWI]
            RETURN
                .85 > __cwi || __cwi > 1.15
        )
    )