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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello all,
I am sort of new to Power BI. I just took a Microsoft Power BI online class. I am tryining to do a simple calculated measure. I want to count all distinct employeeids who's CompanyCategory is "Tradesman". If I run a query in SQL Server or when I look in my data in the Data tab I see the Tradesman values in the table. Seems simple. So I have a DAX formula like this:
Solved! Go to Solution.
Hi @Anonymous ,
You have a typo in your measure my friend!
You wrote "Tradesman", it should be "Tradesmen".
Cheers,
Fernando
Hi @Anonymous ,
Why don't you share your pbix file to understand your data?
Regards,
Fernando
Unfortunately, I can't share the file since it has sensitive information. What I can do it to post a snapshot of my table where you can see one row with the CompanyCategory = "Tradesmen":
I expect to see a numbe 1 in the Card becasue for a distinct count of the empoyees there is only one row that matches the filtering condition.
I have to appologize for my post. This was a simple typo: "Tradesman" instead of a "Tradesmen". This forced me to do a more thorough work when I encounter issues like this.
Hi @Anonymous ,
No worries, this forum is to help users in the community.
Just mark the question answered if you agree.
Regards,
Fernando
Hi @Anonymous ,
You have a typo in your measure my friend!
You wrote "Tradesman", it should be "Tradesmen".
Cheers,
Fernando
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 49 | |
| 35 | |
| 15 | |
| 14 |
| User | Count |
|---|---|
| 92 | |
| 75 | |
| 41 | |
| 26 | |
| 25 |