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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I want to count the names on a chosen day from date table.
Measure=
var a=selectvalue('date'[date])
return
calculate(count(names),a>startdate&&a<enddate)
The error message is
The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.
What did I do wrong?
Solved! Go to Solution.
Proud to be a Super User!
Proud to be a Super User!
User | Count |
---|---|
98 | |
76 | |
74 | |
50 | |
27 |