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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
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.