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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Anonymous
Not applicable

I'm getting this "Operator or expression '()' is not supported in this context." I'm not sure why

So I've got a SUM function that adds up all the hours in the LineItem table. That is then filtered by a StageLabel text which is "Booked Schools" which is from another table called DealPipelineStage, here is what it looks like below:

 

Delivered Hours = (SUM(LineItem[Hours]), FILTER(DealPipelineStage, DealPipelineStage[StageLabel] = "Booked Schools"))
 
However, I keep getting "Operator or expression '()' is not supported in this context." and I'm not sure why, I've tried to change up the brackets but I've still got the error, does anyone know what the problem could be here? 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Add a calculate before the sum

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Add a calculate before the sum

Anonymous
Not applicable

Ahhh thank you @Anonymous so calculate is needed for two seperate functions? I appreciate that. 

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

Check out the July 2025 Fabric 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.