Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
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
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
82 | |
78 | |
52 | |
39 | |
35 |
User | Count |
---|---|
94 | |
79 | |
51 | |
47 | |
47 |