Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I need to create a new measure to apply the following logic, can anyone please help with with the correct DAX syntax please?
Count distinct cust_no where dept_no = 0
Solved! Go to Solution.
Hello @Anonymous
Please try the below code.
Total Count =
CALCULATE(
DISTINCTCOUNT(Table[cust_no]),
Table[dept_no] = 0
)
Hello @Anonymous
Please try the below code.
Total Count =
CALCULATE(
DISTINCTCOUNT(Table[cust_no]),
Table[dept_no] = 0
)
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 |
|---|---|
| 51 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 38 | |
| 29 | |
| 27 |