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
Petenausen
New Member

Sum on key values

Hi,

 

I have to make a service level indicator on power bi.

I have a list of orders make by different customers. and I need to sum them to calculate fill rate.

How could i sum them only if the value of a column is the same?

For example

x 5

y 6

x 10

z 12 

y 3

I wanna have

x 15

y 9

z 12 

is it possible? thanks

2 ACCEPTED SOLUTIONS
Phil_Seamark
Microsoft Employee
Microsoft Employee

HI @Petenausen

 

I use the following table 

Order	Value
x	5
y	6
x	10
z	12
y	3

And just dragged both columns to the canvas using a TABLE visual which automatically grouped the [Order] column and SUMed the [Value] column

 

sum.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Petenausen,

 

In addition, you can also use the formula below to create a new summarize table in this scenario. Smiley Happy

 

Summarize Table = SUMMARIZECOLUMNS(Table1[Order],"Total Value",SUM(Table1[Value]))

t2.PNG

 

Regards

View solution in original post

2 REPLIES 2
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @Petenausen,

 

In addition, you can also use the formula below to create a new summarize table in this scenario. Smiley Happy

 

Summarize Table = SUMMARIZECOLUMNS(Table1[Order],"Total Value",SUM(Table1[Value]))

t2.PNG

 

Regards

Phil_Seamark
Microsoft Employee
Microsoft Employee

HI @Petenausen

 

I use the following table 

Order	Value
x	5
y	6
x	10
z	12
y	3

And just dragged both columns to the canvas using a TABLE visual which automatically grouped the [Order] column and SUMed the [Value] column

 

sum.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

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