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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors