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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Stever25
Frequent Visitor

Calculate all equal values (sales for a group)

Hello,

 

thank you for helping with my little Problem. I have customer and some customers together forms a group. It easy to calculate sales for each custumer with a measure or a calculated coloum.  How can I calculate the sales for the whole group (group sales)?.

 

cust. nr.groupsolo salesgroup sales
10A1040
11A1040
12A1040
13B1030
14B1030
15A1040
16C1010
17B1030
    
1 ACCEPTED SOLUTION
Stever25
Frequent Visitor

I solved this problem with this solution

View solution in original post

2 REPLIES 2
Stever25
Frequent Visitor

I solved this problem with this solution

Fowmy
Super User
Super User

@Stever25 

Try, 

If you are adding a column then:

sum(table[solo])

 

for Meaure,
calculate ( sum(table[solo]) , all(table[group]))



Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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
Top Kudoed Authors