How to calculate Network days?
- 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
Hi connect!
I am working in payables operation and I'm preparing daily metrics for my work. I don't know how to calculate networking days. I want to know to subtract import date and network days to arrive aging days. Can anyone help me out how to derive this?
Thanks
- Labels:
- Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
DateTimeDiff sounds like your best function here, but without knowing your data structure, it’s hard to guess otherwise
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Sanjaykumar2109 If your task is to count week days, you can utilize DateTimeFormat function for filtering out Saturday and Sunday.
DateTimeFormat([Day],"%a")
Here is the snapshot of my approach to do that.(find attached WF for your ready reference)
I guess you want to remove "holidays", too. As the definition of holidays depends on region, basically we need to have pre-defined list of holidays for the regions where you want to do your task. For example, here in Japan, 20th-Mar-2025 is our national holiday but it's not for most of other regions since it's Thursday.
You have to get such a list anyhow to additionally filter out regional holidays. To my knowledge, Alteryx Designer does not have embedded default features to realize it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello alexnjam! here i want to minsu current date and imported on date but it should also exclude Saturday, Sunday. i need only weekdays to get calculated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Gawa! here i want to minsu current date and imported on date but it should also exclude Saturday, Sunday. i need only weekdays to get calculated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
