cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors