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 nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
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.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 50 | |
| 37 | |
| 29 | |
| 24 |