Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
@dsmitha ,
The following DAX Measure should work:
Active_Count = CALCULATE( COUNTA( YourTable[salesdistrictwise) ),
FILTER( YourTable, YourTable[salesdistrictwise] = "active" ))
Good Luck and Regards,
@dsmitha ,
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
104 | |
101 | |
79 | |
72 | |
64 |
User | Count |
---|---|
142 | |
108 | |
101 | |
81 | |
74 |