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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
giorgilomidze
Resolver I
Resolver I

group by new column error

I'm trying to create simple group by

 

Sum cash in = GROUPBY(Table3,Table3[Industry],Table3[Month],"net revenue" ,SUMX(CURRENTGROUP(),[Net Revenue Vat included]))

 

but it gives me an error:  The expression refers to multiple columns. Multiple columns cannot be converted to a scalar value.

1 ACCEPTED SOLUTION
eniX
Helper III
Helper III

https://msdn.microsoft.com/en-us/library/mt163693.aspx

 

"Return Value:  A table with the selected columns for the groupBy_columnName arguments and the grouped by columns designated by the name arguments."

 

Group by returns a table, not a scalar value. This is exactly what this error message is saying.

View solution in original post

1 REPLY 1
eniX
Helper III
Helper III

https://msdn.microsoft.com/en-us/library/mt163693.aspx

 

"Return Value:  A table with the selected columns for the groupBy_columnName arguments and the grouped by columns designated by the name arguments."

 

Group by returns a table, not a scalar value. This is exactly what this error message is saying.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors