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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors