Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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 |
|---|---|
| 24 | |
| 22 | |
| 21 | |
| 18 | |
| 13 |
| User | Count |
|---|---|
| 69 | |
| 56 | |
| 45 | |
| 42 | |
| 30 |