Forum Discussion
Anonymous
4 years agoNot applicable
How to count text value
Hi, Request your guidance to solve this issue in my table "salesdistrictwise" got a text field named "status" which contains "active" or "inactive" data. I would like to get a count of "ac...
- 4 years ago
Anonymous ,
The following DAX Measure should work:
Active_Count = CALCULATE( COUNTA( YourTable[salesdistrictwise) ), FILTER( YourTable, YourTable[salesdistrictwise] = "active" ))Good Luck and Regards,
rsbin
4 years agoCommunity Champion
Anonymous ,
The following DAX Measure should work:
Active_Count = CALCULATE( COUNTA( YourTable[salesdistrictwise) ),
FILTER( YourTable, YourTable[salesdistrictwise] = "active" ))
Good Luck and Regards,
Anonymous
4 years agoNot applicable
Hi rsbin,
thank you very much for your express reply, it resolved the issue
thanks once again
regards,
dsmitha