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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Rotemshan
Helper I
Helper I

Argument '9' in SUMMARIZE function is required

Hi, 

 

I came across some issue which I can't understand where it went wrong. 

I built a formula to count and summarize a range of values in a column (I created a new table)

The result I expect is 

Number of values between 0 to 6

Number of values between 7 to 8

Number of values between 9 to 10 

 

I keep getting the error of "Argument '9' in SUMMARIZE function is required" 

How should I fix it? 

 

Attached a screenshot and the formula underneath 

 

Rotemshan_0-1646963104098.png

 

Recieve_table =
SUMMARIZE (
Merge1,
Merge1[Response_Details.Likely to Recommend NPS.1],
"0-6", CALCULATE (
COUNT (Merge1[Response_Details.Likely to Recommend NPS.1] ),
 
Merge1[Response_Details.Likely to Recommend NPS.1] >= 0
&& Merge1[Response_Details.Likely to Recommend NPS.1] <= 6
)
,
"7-8", CALCULATE (
COUNT ( Merge1[Response_Details.Likely to Recommend NPS.1] ),
 
Merge1[Response_Details.Likely to Recommend NPS.1] > 6
&& Merge1[Response_Details.Likely to Recommend NPS.1] <= 8
)
,
"9-10", CALCULATE (
COUNT ( Merge1[Response_Details.Likely to Recommend NPS.1] ),
 
Merge1[Response_Details.Likely to Recommend NPS.1] > 8
&& Merge1[Response_Details.Likely to Recommend NPS.1] <= 10
)
,
)

 

2 ACCEPTED SOLUTIONS
Kucrapok
Helper I
Helper I

You need to remove the last comma before the parenthesis

View solution in original post

Rotemshan
Helper I
Helper I

PERFECT !!!

Thank you 

View solution in original post

2 REPLIES 2
Rotemshan
Helper I
Helper I

PERFECT !!!

Thank you 

Kucrapok
Helper I
Helper I

You need to remove the last comma before the parenthesis

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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