Showing results for 
Search instead for 
Did you mean: 
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?

Skilled Sharer
Skilled Sharer

Hi @thomassto14


Try this measure:

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


Hope this helps!

Hello @SabineOussi

You are my saviour! Cat Very Happy

Thank you




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


Best Regards,


Helpful resources


Happy New Year from Power BI

This is a must watch for a message from Power BI!

December Update

Check it Out!

Click here to read more about the December 2020 Updates!

Community Blog

Check it Out!

Click here to read the latest blog and learn more about contributing to the Power BI blog!

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors