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 does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,224,822
Messages
6,181,165
Members
453,021
Latest member
Justyna P

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