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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
pierre
Advocate II
Advocate II

Create a new table in power BI with SUMMARIZE function

Hello,

I try to create a new table  from another to sum a column group by item number and year.

Here is my formula :

NewTable = SUMMARIZE(LOG_DELIV_NOTE;'LOG_DELIV_NOTE[SHIPPED_ORDER_YEAR];LOG_DELIV_NOTE[ITEM_NUMBER];sum(LOG_DELIV_NOTE[M_DELIVERED_QTY])

and here is the error :

The following syntax error occurred during parsing: Invalid token, Line 1, Offset 26, 'LOG_DELIV_NOTE[SHIPPED_ORDER_YEAR];LOG_DELIV_NOTE[ITEM_NUMBER];sum(LOG_DELIV_NOTE[M_DELIVERED_QTY])
).

 

Do you know what it means and how to resolve it?

Regard

Pierre

1 ACCEPTED SOLUTION
Sean
Community Champion
Community Champion

@pierre You need to give a name to the New Sum Column Smiley Happy

 

NewTable =
SUMMARIZE (
    LOG_DELIV_NOTE;
    LOG_DELIV_NOTE[SHIPPED_ORDER_YEAR];
    LOG_DELIV_NOTE[ITEM_NUMBER];
    "New Sum Column"; SUM ( LOG_DELIV_NOTE[M_DELIVERED_QTY] )
)

 

View solution in original post

2 REPLIES 2
Sean
Community Champion
Community Champion

@pierre You need to give a name to the New Sum Column Smiley Happy

 

NewTable =
SUMMARIZE (
    LOG_DELIV_NOTE;
    LOG_DELIV_NOTE[SHIPPED_ORDER_YEAR];
    LOG_DELIV_NOTE[ITEM_NUMBER];
    "New Sum Column"; SUM ( LOG_DELIV_NOTE[M_DELIVERED_QTY] )
)

 

Thanks a lot Sean : it works!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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