Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

I keep getting this error message 'The expression refers to multiple columns. cannot be converted.'

Hi All,

 

I'm calculating a new measure and this is my calculation: total june = calculate(sum(append1,append1[month] = June)) and it keeps returning the error message 'The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value'.  

 

Could anyone tell me why this is happening and how to fix it?

1 ACCEPTED SOLUTION
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

Please try the formula as below:

 total june = calculate(sum(append1 [Value field]) , append1[month] = "June")

or 

total june = calculate(COUNTROWS(append1),append1[month] = "June")
 
Best Regards,
Lin
Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-lili6-msft
Community Support
Community Support

hi, @Anonymous 

Please try the formula as below:

 total june = calculate(sum(append1 [Value field]) , append1[month] = "June")

or 

total june = calculate(COUNTROWS(append1),append1[month] = "June")
 
Best Regards,
Lin
Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors