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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
eijer
Helper I
Helper I

Measure summarizing by group

I want to create a measure that adds up the sales amount of each salesperson. Please refer to the example below. The name of the table is Sales.

 

PriceSales-man
100John
100Michael
200Ron
300Juile
100John
200John
1 ACCEPTED SOLUTION
v-yulgu-msft
Employee
Employee

Hi @eijer ,

 

Drag [Price] and [Sales-man] into a Table visual, it will sum up the sales amount per salesperson automatically.

1.PNG

 

Additionally, you could refer to below measure.

Sum price = SUM(Sales[Price])

2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @eijer ,

 

Drag [Price] and [Sales-man] into a Table visual, it will sum up the sales amount per salesperson automatically.

1.PNG

 

Additionally, you could refer to below measure.

Sum price = SUM(Sales[Price])

2.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
um_mir
Frequent Visitor

Hi @eijer 

 

Try below measure

 

TotalPrice = SUMX(Sales,Sales[Price])
 
Hopefully this works for you.

@um_mir 

 

Thanx for your help, howerver; it wasn't I wanted.

 

A formula is required to obtain the sum of the sales figures for each salesperson.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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