Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Frequency based on start/end date and total number of payments

L_T
8 - Asteroid

Hi all, 

I have the below dataset and would like to understand how to calculate the frequency of payments based on the start and end dates, as well as total number of payments that need to occur in that period. Payments occur both on the starting date and end date date. 
For example, the frequency of payments for the first line is monthly, and the frequency for the last line is bi-monthly.

Start DateEnd Date# payments
15/09/202015/10/202114
27/03/202027/01/202335
05/05/202005/01/202760
15/10/202015/01/202440
05/10/201905/08/202660
05/11/201905/07/202323

 

thanks in advance

1 REPLY 1
Maskell_Rascal
13 - Pulsar

Hi @L_T 

 

You can use the DateTimeDiff function to calculate the number of weeks between the Start/End dates, and then divide by # payments to get your Payment Frequency. 

 

Maskell_Rascal_0-1617904181072.png

 

Attached is an example workflow. 

 

If this solves your issue please mark the answer as correct, if not let me know!

 

Thanks!

Phil

 

Labels