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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello
I'm trying to create a measure whereby a distinct count of serialnumber is made when the name field on the employment entity is either one, two or three.
I've written the code as below, but I'm getting the error "The True/False expression does not specify a column. Each True/False expressions used as a table filter expression must refer to exactly one column."
Solved! Go to Solution.
@jonclay , Try in
Count = CALCULATE(DISTINCTCOUNT(employment[serialnumber]),employment[name] in{ "one","two","three" } )
this should work
Count = CALCULATE(
DISTINCTCOUNT(employment[serialnumber]),
employment[name] IN {"one","two","three"}
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 69 | |
| 50 | |
| 46 |