Forum Discussion
Yashodhan
4 years agoFrequent Visitor
Dax
How to Count Two Specimen in One column with Meansure ?
- Anonymous4 years ago
Hi Yashodhan ,
Try this
Count New = CALCULATE ( COUNT ( 'Table'[Criteria] ), FILTER ( 'Table', [Criteria] = "New" ) )Count Old = CALCULATE ( COUNT ( 'Table'[Criteria] ), FILTER ( 'Table', [Criteria] = "Old" ) )Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
4 years agoNot applicable
Hi Yashodhan ,
I create some sample data for reference。
Then create the measure.
Count Measure =
CALCULATE (
COUNT ( 'Table'[Specimen] ),
FILTER ( 'Table', [Specimen] = "Specimen 1" || [Specimen] = "Specimen 2" )
)
The result is as follows.
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.