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
Hi
I have the below measure that counts all the rows in the "incident tickets" table where the "assignment group" is equal to "incident"
I know I need to use the contrainsstring() but not sure how to structure it
Thanks
Solved! Go to Solution.
try with
Ticket Count =
COUNTROWS(
FILTER(
'Incident Tickets',
CONTAINSSTRING('Incident Tickets'[Assignment group] = "incident")
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
try with
Ticket Count =
COUNTROWS(
FILTER(
'Incident Tickets',
CONTAINSSTRING('Incident Tickets'[Assignment group] = "incident")
)
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
I get this error then:
Too few arguments were passed to the CONTAINSSTRING function. The minimum argument count for the function is 2.
NM, removed the = for a comma.
Thanks for your help
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 132 | |
| 88 | |
| 82 | |
| 68 | |
| 64 |