Forum Discussion

raymondxie's avatar
raymondxie
Helper II
9 years ago
Solved

Filter with calculated measures

I have a table on a database which contains a field Validated of varchar.   I need to count the number of records with [Validated] == 'Y', I created a measure with the following formula: Validated...
  • Greg_Deckler's avatar
    9 years ago
    Validated = CALCULATE ( Count (Result[ID]), FILTER ( Result, [Validated] = "Y") ) 
  • raymondxie's avatar
    raymondxie
    9 years ago

    I changed from creating column to creating measure and it works now, thank you very much. Greg_Deckler