Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello,
I need to count rows in a table that meet two criteria:
- Task percent complete equals 100
- Task name contains the word "sprint"
I have the following measures that counts the rows that contain the word sprint but I don't know how to add the second criteria for task complete=100. Any insight is greatly appreciated.
M_Count of Sprints = COUNTROWS(
Filter('tasks',
Containsstring([Task Name],"sprint")
))
Solved! Go to Solution.
Hi,
Does this work
M_Count of Sprints = COUNTROWS(Filter('tasks',Containsstring([Task Name],"sprint")&&[Task Percent]=100))
Hi,
Does this work
M_Count of Sprints = COUNTROWS(Filter('tasks',Containsstring([Task Name],"sprint")&&[Task Percent]=100))
Hello @Ashish_Mathur ,
Yes, with a slight modification, it does.
You are welcome.
| User | Count |
|---|---|
| 60 | |
| 46 | |
| 32 | |
| 16 | |
| 16 |
| User | Count |
|---|---|
| 82 | |
| 68 | |
| 43 | |
| 26 | |
| 25 |