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 " )
tahmed
9 years agoAdvocate II
Thsi is real good, except I need to go a little bit futher. Instead of "This Value", which is a single text value, I want to use a table column. Example:
Table 1:
Jon
Jon
Jon
Danny
Anne
Danny
Brown
Taha
Taha
Table 2 (result I'm looking for)
Jon = 3
Danny = 2
Anne = 1
Brown = 1
Taha = 2
Thanks so much for your help