Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

DISTINCTCOUNT with multiple Filters

Hello, I am trying to get the count of a column where the column value is equal to something. I have the below formula which works with 1 filter: Windows = CALCULATE( DISTINCTCOUNT( 'enterprise-...
  • amitchandak's avatar
    5 years ago

    Anonymous , Try a measure like

     

    CALCULATE(
    DISTINCTCOUNT( 'enterprise-attack'[Value.x_mitre_platforms] ),
    FILTER(
    'enterprise-attack',[Value.x_mitre_platforms] in {"Windows","Linux","macOS"}
    )
    )