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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Jan91
Regular Visitor

Problem with SUMMARIZE

Hey there,

 

i hope i could get any help here 🙂

There are a table with different production data. Each production could be identified by an unique OrderNr. Because there are a lot of bookings for each OrderNr i tried to create a SUMMARIZE table.

SumTable = SUMMARIZE('ProductionData', 'ProductionData'[OrderNr]) 

That works fine and i can implement a relationship between both tables by using the OrderNr as an identifier.

 

The problem starts as soon i try to add addition data from productionData to SumTable - for example productionTime.

For this i use the following formula:

SumTable = SUMMARIZE('ProductionData', 'ProductionData'[OrderNr],'ProductionData'[productionTime]) 

As soon i try this, i get an error because of duplicat values in SumTable.

 

Am i the problem or is there are known problem with SUMMARIZE function?

 

Thank you very much for your help and please excuse my english skills 🙂

 

3 REPLIES 3
bhanu_gautam
Super User
Super User

@Jan91  Try updating measure as 

 

SumTable =
SUMMARIZE(
'ProductionData',
'ProductionData'[OrderNr],
"TotalProductionTime", SUMX(CURRENTGROUP(), 'ProductionData'[productionTime])
)




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






@bhanu_gautam thank you for your quick answer!

I tried this solution but it doesn´t worked unfortuantely. But it inspired me for new approaches!

 

Instead i solved this problem by adding calculated columns to SumTable. Now it works as i expeted.

 

Thank you very much!

 

 

@Jan91 , That's awesome




Did I answer your question? Mark my post as a solution! And Kudos are appreciated

Proud to be a Super User!




LinkedIn






Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 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.