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!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hi Folks,
I have a table where I want to count number of specific text in a column. How can I do that?
My coloumn name is Observation
Values there are "SU", "SW", SO.
So how can I apply count if?
Hi bhuvanasundar,
I can't reproduce your problem based on your desription, so if possible, could you please inform me in details(such as your sample data, your expected output or the error you get currently)? Then I will help you more correctly.
Please do mask sensitive data before uploading.
Thanks for your understanding and support.
Best Regards,
Zoe Zhi
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Create a Calculated column as Count=1
Create a measure for each of the group like:
Count of SU = calculate(sum(Count),Observation="SU")
Count of SW = calculate(sum(Count),Observation="SW")
Count of SO = calculate(sum(Count),Observation="SO")
@Anonymous if it helps please give a Kudos:)
Doesnt work actually
What error you are getting ? @Anonymous
@Anonymous wrote:Doesnt work actually
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 58 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 116 | |
| 105 | |
| 41 | |
| 34 | |
| 25 |