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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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