Days and Aging Formula
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Experts,
I've been running into an error with aging and days using formula tool in Alteryx and need help with a resolution.
Input Data:
Issue Created |
2024-03-26 14:32:26 |
2023-07-24 10:14:44 |
2023-10-03 12:51:04 |
2023-01-01 10:16:13 |
Expected Output:
Issue Created | Next Month | Days | Aging |
3/26/2024 14:32 | 5/1/2024 | 36 | 31-60 Days |
7/24/2023 10:14 | 5/1/2024 | 282 | Exceeds 90 Days |
10/3/2023 12:51 | 5/1/2024 | 211 | Exceeds 90 Days |
1/1/2023 10:16 | 5/1/2024 | 486 | Exceeds 90 Days |
Solved! Go to Solution.
- Labels:
- Output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@geeklarokcmie - something like the attached will get you there
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you. That worked. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@geeklarokcmie @Sarreddy - this solution will only return aging buckets of 31-60 days or exceeds 90 days. Is that what you need? I factored buckets for 0-30 days and 61-90 days into my solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I was able to modify the formula to capture all the days. I hope this helps. :)
IF [Days] <=30 THEN "1-30 Days"
ELSEIF [Days] <=60 THEN "31-60 Days"
ELSEIF [Days] <=90 THEN "61-90 Days"
ELSEIF [Days] >90 THEN "Exceeds 90 Days"
ELSE "Error"
ENDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Bren_Spill @Sarreddy I tried the formula provided with the actual data and I'm running into errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@geeklarokcmie - Created date is in the wrong format and needs to be converted to date time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It still doesn't work. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Put this in the custom section of the date time tool: %d/%b/%y
