Alteryx Designer Desktop Discussions

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

Need help to get average ageing

shahnawaz_khan
8 - Asteroid

Hi all

 

I m trying to pull the average ageing of all category, week wise of the month.

 

 

Output will look similar to below table:

 

Category1st Week of the month2nd Week of the month3rd Week of the month4th Week of the month5th week of the monthAverage ageing overall week
a904910666 82
b18253542 30
c371972383136
d5822 753949
e2122 383930
g 15932 19
h  8  8
i  6  6
Grand Total502449493643
9 REPLIES 9
binuacs
21 - Polaris

@shahnawaz_khan Your attached workflow is not helping to understand what you are looking for? Can you elaborate on what exactly you're looking for based on your input data?

Qiu
21 - Polaris
21 - Polaris

@shahnawaz_khan 
I think you need to provide the definition of "aging" which is not shown in your sample data.

0418-shahnawaz_khan.png

caltang
17 - Castor
17 - Castor

Also, assuming aging is the closure from creation date, why is there a time series element to the column names? The week from when? Need more details...

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
shahnawaz_khan
8 - Asteroid

Yes ageing is from the closure from creation date, and the date format is dd-mm-yy  hh:mm;ss, and the week of the month stand for in which week it got closed. Eg: closed date is of 1st week of the month then its 1st week if closure date is of 4th week of the month then its 4th week.

caltang
17 - Castor
17 - Castor

Like so?

 

image.png

 

Your grand total doesn't make sense to me. Is it a sum total or a total average of the field? Because if the latter, your grand total values need to be checked.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
caltang
17 - Castor
17 - Castor

In addition, there are 52 weeks to a year, and if you are using closure week of the year, you need to factor that in. Unless you are saying, each month, the week recycles from 1 to 4 or 1 to 5. What about weeks cut in half? How do you consider a week starting in May but ends in June, will it be the 5th week of May or 1st week of June?

 

Needs more consideration into the what-ifs.. but if you are happy with the above, that's how you can do it.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
shahnawaz_khan
8 - Asteroid

Hi,

 

sample is below with Ageing : Ageing = Closure date - Created date

 

 

Sr no.CategoryCreated dateClosure dateWeek of the monthAgeing
1a01-01-202501-04-20251st Week90
2b15-03-202502-04-20251st Week18
3c07-02-202503-04-20251st Week55
4d05-02-202504-04-20251st Week58
5e15-03-202505-04-20251st Week21
6c18-03-202506-04-20251st Week19
7g23-03-202507-04-20252nd Week15
8a18-02-202508-04-20252nd Week49
9b15-03-202509-04-20252nd Week25
10c18-03-202510-04-20252nd Week23
11d20-03-202511-04-20252nd Week22
12e21-03-202512-04-20252nd Week22
13c30-03-202513-04-20252nd Week14
14g05-04-202514-04-20253rd Week9
15h07-04-202515-04-20253rd Week8
16i10-04-202516-04-20253rd Week6
17a02-01-202517-04-20253rd Week105
18a01-01-202518-04-20253rd Week107
19b15-03-202519-04-20253rd Week35
20c07-02-202520-04-20253rd Week72
21d05-02-202521-04-20254th Week75
22e15-03-202522-04-20254th Week38
23c18-03-202523-04-20254th Week36
24g23-03-202524-04-20254th Week32
25a18-02-202525-04-20254th Week66
26b15-03-202526-04-20254th Week42
27c18-03-202527-04-20254th Week40
28d20-03-202528-04-20255th week39
29e21-03-202529-04-20255th week39
30c30-03-202530-04-20255th week31
31a19-02-202525-04-20254th Week65
32a02-01-202501-04-20251st Week89
Qiu
21 - Polaris
21 - Polaris

@shahnawaz_khan 
You will provide the defition for "Week"?
I can not see consistency from your week number.

2025-04-18 140221.png

 

 

caltang
17 - Castor
17 - Castor

@shahnawaz_khan I believe my workflow solves your need no?

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Labels
Top Solution Authors