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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Manne_DE
Frequent Visitor

sorting Customer sales by country

I need help please - I have a data model which contains the revenues/sales by month/year and country for my customers

I would like to create a visualation which shows, which customer have revenues/sales over all/many countries, sorting decending by the customer with the biggest footprint and highest revenue.

 

Here you can see how I can show the data using a matrix

 

 Country    
CustomerBelgiumUKNetherlandsSpainTotal
Client11000050150
Client250025013050930
Client30500050
Client401030040
Client52000020
Client625010000350
Client71.0000001.000
Client8020304090
Client91502503504501.200
Client102.5000002.500
Client1103.500003.500
 4.5204.1805405909.830

 

and here you can see, how I would like to show the data

 

 Country     
CustomerBelgiumUKNetherlandsSpainTotalCnt
Client91502503504501.2004
Client2500250130509304
Client80203040903
Client6250100003502
Client110000501502
Client4010300402
Client1103.500003.5001
Client102.5000002.5001
Client71.0000001.0001
Client305000501
Client520000201
 4.6404.26060068010.180

 

      

 

 

I was also playing, creating a measure, which gives me by customer the count, in how many countries it had sales. But did not been able to create these,

 

Any help you might can provide, is greatly appreciated.

 

Thanks

2 REPLIES 2
Anonymous
Not applicable

Hi @Manne_DE ,

Please refer the attached .pbix file:

vbinbinyumsft_0-1690426133911.png

Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank You for quick reply to my problem. I have tried your solution, as I am still on the April 2023 version and cannot upgrade, it caused some errors telling me that you created the solution in a newer version.

 

However, I still could check out what you did and the Dax you wrote. Currently I am not sure, I can implement your solution, so I am still looking into this.

 

Thank You so far ! Appreciate it

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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