Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 "active" cases using a DAX function. please advice
regards,
dsmitha
Solved! Go to Solution.
@Anonymous ,
The following DAX Measure should work:
Active_Count = CALCULATE( COUNTA( YourTable[salesdistrictwise) ),
FILTER( YourTable, YourTable[salesdistrictwise] = "active" ))
Good Luck and Regards,
@Anonymous ,
The following DAX Measure should work:
Active_Count = CALCULATE( COUNTA( YourTable[salesdistrictwise) ),
FILTER( YourTable, YourTable[salesdistrictwise] = "active" ))
Good Luck and Regards,
Hi rsbin,
thank you very much for your express reply, it resolved the issue
thanks once again
regards,
dsmitha
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 32 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |