cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

group by customer and sum value

Hi i create a report with Filled map and when i click the country i want, i have at the right a table with all customers of this country and salesvalue off them. I would like to summarize salesvalue in group by each customer. How can i do this in PowerBi?

3 REPLIES 3
Highlighted
Microsoft
Microsoft

Re: group by customer and sum value

@thomassto14

 

Could you please provide some sample data so that we can provide solution based on your table data?

 

Best Regards,

Herbert

Highlighted
Skilled Sharer
Skilled Sharer

Re: group by customer and sum value

Hi @thomassto14

 

Try this measure:

SalesValue = SUMX(VALUES(Table1[Customer]),CALCULATE(SUM(Table1[Sales])))

 

Hope this helps!

Highlighted
New Member

Re: group by customer and sum value

Hello @SabineOussi

You are my saviour! Cat Very Happy

Thank you

Helpful resources

Announcements
Super Users of the Quarter - Q2 2020

Super Users of the Quarter - Q2 2020

Who are our Super User Superstars? Who made it to the top of the leaderboards? Get the answers!

June 2020 Community Highlights

June 2020 Community Highlights

Featured community members, changes to the Community, and more! Read up on recent Power BI community news.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications

Power Platform 2020 release wave 2 plan

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Kudoed Authors