Forum Discussion
raymondxie
9 years agoHelper II
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...
- 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
raymondxie
9 years agoHelper 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
raymondxie
9 years agoHelper II
I changed from creating column to creating measure and it works now, thank you very much. Greg_Deckler
- Greg_Deckler9 years agoCommunity Champion
Ah, I was wondering, because you said "measure" in your first post so I was thinking that couldn't be the issue!!
- raymondxie9 years agoHelper II
sorry about that, I just started learning PowerBI.