March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I see lots of answers on how to count rows containing certain text, but I need to count rows of text that do not contain the word "Open". How do I do this?
Solved! Go to Solution.
Yes! That worked! Thank you SO much! Been struggling all morning on that. I am a relatively new user.
Unfortunately, this didn't work. Is there another piece to the code?
I just sent you the FILTER (which you need to use inside CALCULATE).
Create a new measure like this :
YourMeasure = CALCULATE( COUNT('YourTable'[YourColumn]),FILTER('YourTable', NOT(CONTAINSSTRING('YourTable'[YourColumn], "Open")))
Have a nice day.
Yes! That worked! Thank you SO much! Been struggling all morning on that. I am a relatively new user.
Glad it is working well 🙂
Hi @jvanarsdale ,
Please try this .
Price Count = IF( 'Product'[List Price] != "Open", COUNTROW( 'Product'[Text] ))
Thanks ,
Pratyasha Samal
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
Proud to be a Super User!
Hello @jvanarsdale ,
You can use NOT() in your filter.
Would looks like :
FILTER('YourTable', NOT(CONTAINSSTRING('YourTable'[YourColumn], "Open"))
The measure would be :
YourMeasure = CALCULATE( COUNT('YourTable'[YourColumn]),FILTER('YourTable', NOT(CONTAINSSTRING('YourTable'[YourColumn], "Open")))
Have a nice day
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
115 | |
76 | |
57 | |
52 | |
44 |
User | Count |
---|---|
164 | |
116 | |
63 | |
57 | |
50 |