Forum Discussion
Jonnokc
10 years agoFrequent Visitor
DAX function to count specific text values from a column
Hello, How I am trying to total a specific value from a column. The column contains multipe values and I want to know the count for a specific value. The COUNTA function just totals every bla...
- 10 years ago
You need to write a formula like which will count all the rows containing "This Value"
CountValues = CALCULATE ( COUNTROWS ( TableName ); TableName[ColumnName] = " This Value " )
konstantinos
10 years agoMemorable Member
You need to write a formula like which will count all the rows containing "This Value"
CountValues = CALCULATE ( COUNTROWS ( TableName ); TableName[ColumnName] = " This Value " )
Anonymous
4 years agoNot applicable
Hi konstantinos
Can we count two distinct values together in measure. if yes which funtion to be use.
example: items: apple,banana,mango,onion,ginger
i want to count fruits & veg. sperate and display the count
please help me out.
thank you in advance