Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Divide filter

Hi,
 
I have a calculation of dividing a measure by a measure:
 
Total Breached % =
DIVIDE([Total Breached],[Count of Incidents]) + 0
 
I want to exclude a certain value that is attached to certain rows of data. What would the dax formula be for the divide but filter on the value?
 
Thanks
 
Liam

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable
    Divide(
    Calculate([measure],filter(table,table[col]="value"),[measure2])

    Thanks
    Pravin

    If it resolves your problem mark it as a solution and give Kudos.