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
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.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 60 | |
| 43 | |
| 40 | |
| 37 | |
| 21 |
| User | Count |
|---|---|
| 178 | |
| 127 | |
| 116 | |
| 77 | |
| 54 |