Excel Power Query Average Period a customer buys (frequency)

gazmoz17

Board Regular
Joined
Sep 18, 2020
Messages
158
Office Version
  1. 365
Platform
  1. Windows
Hi,

I think I know how to do this via Grouping via customer then Avergae aggreagtion on my custom field (frequency)

But I dont know how to do the initial step (get the frequency): work out the days between each invoice per customer.

From there get an avergae from how many days on average a customer purchases.

1699356936533.png

; Ive downloaded XL2BB and its copied to clipboard successfully but I cant paste it within the reply?

1699356992966.png


*With very end game being as of Todays date is Customer A etc overdue puchasing from us....as its 24 days since last invoice date (seperate query to this) and the average days is 15 ; frequency custom field (im struggling with) grouped as an average.



Any help much appreciated.
Many Thanks
Gareth
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

Forum statistics

Threads
1,215,453
Messages
6,124,930
Members
449,195
Latest member
Stevenciu

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top