Forum Discussion

millercj's avatar
millercj
Regular Visitor
1 year ago
Solved

Measure on a measure

For reference, I am an insurance agent.   Goal: I need to count the number of entities (customers) where ActivePolicyCount=1   I have a table named "Entities" (essentially customers). Within that...
  • sanalytics's avatar
    1 year ago

    millercj 

    you can try below measure

    Count_Customers_ActivePolicy1 =
    CALCULATE(
        DISTINCTCOUNT(Entities[CustomerID]),
        FILTER(
            Entities,
            [ActivePolicyCount] = 1
        )
    )

     

    Regards

    sanalytics