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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
KA95
Helper III
Helper III

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

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

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors