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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Whale Curve with percentage of customers on x-axis

Hello!
I have a dataset that consists of 3 columns (Customer_name, Sum of sales, Count of purchases). I'm trying to create a whale curve with percentages of customers on x-axis from most contributing customers to sales and number of purchases to least contributors.
On y-axis I'd like to have two measures(lines) % of running total of sum of sales and % of running total of count of purchases.
I'm more of a Tableau user, and this grapf can be reached by this method Discover the Winners and Losers within your Customers using a Whale Curve! (biztory.com)
How can achieve this in Power BI? Could you help?
Here's the table I'm using.

Customer NameSum of SALESCount of Purchases
customer 1$1,444,864919
customer 7$651,75751
customer 9$478,6154732
customer 11$429,033469
customer 12$423,3522104
customer 16$341,529997
customer 17$339,345232
customer 19$320,15152
customer 20$317,6745191
customer 22$288,621643
customer 26$252,8567981
customer 31$219,7542677
customer 32$215,6049611
customer 33$194,2544555
customer 34$193,653265
customer 36$186,309453
customer 37$184,39240
customer 38$184,034138
customer 39$182,6644013
customer 42$169,67836
customer 43$165,9581090
customer 44$165,68843673
customer 46$157,8952136
customer 52$133,460509
customer 53$131,02162
customer 54$123,378127
customer 55$122,6372489
customer 57$119,47452
customer 59$114,697545
customer 62$112,6425339
customer 65$109,094190
customer 66$108,207262
customer 67$107,9285679
customer 69$107,2877903
customer 74$100,47528
customer 78$93,545850
customer 79$92,9619410
customer 80$92,7853
customer 81$92,7753
customer 82$92,5378240
customer 83$92,4023569
customer 84$91,547124
customer 85$91,062931
customer 86$90,353110
customer 87$90,238110
customer 90$88,389275
customer 93$86,3369
customer 95$84,1167176
customer 101$77,85546
customer 102$75,7797138
customer 107$70,7455164
customer 109$69,37518511
customer 110$69,2562576
customer 111$67,9471898
customer 116$65,5193870
customer 118$64,0841256
customer 119$63,712621
customer 120$63,08085
customer 121$62,773391
customer 122$62,58027434
1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

 

 a whale curve with percentages of customers on x-axis from most contributing customers to sales and number of purchases to least contributors.
On y-axis I'd like to have two measures(lines) % of running total of sum of sales and % of running total of count of purchases.

 

 

How is that a whale curve?  Sounds more like two independent histograms.

Visualizing customer profitability with the whale curve - Baker Tilly

 

Maybe this is closer to what you want?

 

lbendlin_0-1676947053960.png

It plots the cumulative percentage of sales versus the cumulative percentage of contributing customers.

 

You would need customers with negative sales to get a whale curve.

View solution in original post

1 REPLY 1
lbendlin
Super User
Super User

 

 a whale curve with percentages of customers on x-axis from most contributing customers to sales and number of purchases to least contributors.
On y-axis I'd like to have two measures(lines) % of running total of sum of sales and % of running total of count of purchases.

 

 

How is that a whale curve?  Sounds more like two independent histograms.

Visualizing customer profitability with the whale curve - Baker Tilly

 

Maybe this is closer to what you want?

 

lbendlin_0-1676947053960.png

It plots the cumulative percentage of sales versus the cumulative percentage of contributing customers.

 

You would need customers with negative sales to get a whale curve.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

Check out the November 2024 Power BI update to learn about new features.