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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch 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!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.