cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pierre Frequent Visitor
Frequent Visitor

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

Accepted Solutions
Sean Super Contributor
Super Contributor

Re: Create a new table in power BI with SUMMARIZE function

@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 Super Contributor
Super Contributor

Re: Create a new table in power BI with SUMMARIZE function

@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

pierre Frequent Visitor
Frequent Visitor

Re: Create a new table in power BI with SUMMARIZE function

Thanks a lot Sean : it works!

Helpful resources

Announcements
New Kudos Received Badges Coming

New Kudos Received Badges Coming

Kudos to you if you earned one of these! Check your inbox for a notification.

Microsoft Implementation for Communities Wins Award

Microsoft Implementation for Communities Wins Award

Learn about the award-winning innovation that was implemented across Microsoft’s Business Applications Communities.

Power Platform World Tour

Power Platform World Tour

Find out where you can attend!

Top Kudoed Authors (Last 30 Days)
Users online (1,305)