Forum Discussion
raymondxie
Helper II
9 years agoFilter 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...
- 9 years ago
Validated = CALCULATE ( Count (Result[ID]), FILTER ( Result, [Validated] = "Y") )
- 9 years ago
I changed from creating column to creating measure and it works now, thank you very much. Greg_Deckler
Greg_Deckler
Community Champion
9 years agoValidated = CALCULATE ( Count (Result[ID]), FILTER ( Result, [Validated] = "Y") )
- raymondxie9 years ago
Helper II
Thank you Greg_Deckler,
I got the following number which doesn't seem to be a count result but rather a sum result:
The count should be something less than 50000
- raymondxie9 years ago
Helper II
I changed from creating column to creating measure and it works now, thank you very much. Greg_Deckler
- Greg_Deckler9 years ago
Community Champion
Ah, I was wondering, because you said "measure" in your first post so I was thinking that couldn't be the issue!!