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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Raj007
Helper III
Helper III

hi, really sorry if this very basic..summarize function

Hi, I am trying to use the summarize function but got stuck with the 3rd argument - it is not accepting the 3rd argument

 

1.trying to create a table using the summarize

Customers_GropBy_Table=SUMMARIZE(

'Sales SalesOrderDetail',
'Sales SalesOrderDetail'[CustomerID],
expression - This is where i am trying to use the measure which is already exists in the same table - but i do not see that field
when i try to put the "Sales Amount" as expression like 
'Sales SalesOrderDetail'[Sales Amount] ) - the error is sales amount specified in the summarize function was not found in the input table - i have this column in the same table
 
below is what i have in the Sales Amount measure
Sales Amount = SUM('Sales SalesOrderDetail'[OrderQty]) * SUM('Sales SalesOrderDetail'[UnitPrice])
 
 
1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

@Raj007 You need four arguments in your case. You have to name the field for the expression so like this:

 

Customers_GropBy_Table=SUMMARIZE(

'Sales SalesOrderDetail',
'Sales SalesOrderDetail'[CustomerID],"Sales Amount",[Sales Amount])

 

SUMMARIZE function (DAX) - DAX | Microsoft Docs



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

@Raj007 3rd argument, in your case, should be a Constant of a name you want to give for your expression like "My Sale Amount" and thereafter 4th argument is where you will give the actual formulae/expression/measure which is Sales SalesOrderDetail'[Sales Amount]

Greg_Deckler
Community Champion
Community Champion

@Raj007 You need four arguments in your case. You have to name the field for the expression so like this:

 

Customers_GropBy_Table=SUMMARIZE(

'Sales SalesOrderDetail',
'Sales SalesOrderDetail'[CustomerID],"Sales Amount",[Sales Amount])

 

SUMMARIZE function (DAX) - DAX | Microsoft Docs



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Hi Greg & Push, you both are correct, - thank you so much guys ...

SUMMARIZE(table, [groupbyconame], [name1],[expre1] )

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.