Hello, Alteryx Community!
I hope you’re all doing well! I’m reaching out for assistance with creating a workflow for a specific situation I’ve been struggling with. I have two accounting entry systems: System Q, which has about 20,000 entries per month, and System P, which has around 300,000 entries per month.
At a high level, my goal is to categorize each entry based on the following definitions:
Here are more details on each system and my objectives:
System Q:
System P:
Please note that my real dataset from both accounting entry systems covers January 2024 through March 2025 and will continue going forward.
I've attached a simple Excel sheet that helps explain what I'm trying to do, using the February 2025 and March 2025 month-ends, along with the "D Plus Day" column I hope to create using Alteryx. I did this by hand, but with the volume I have in my real dataset, I need to use Alteryx.
The ultimate goal is to combine the data from these two systems, apply the appropriate tags, and then load it into Power BI to create simple visualizations that show how many entries, per system, were entered on D-1, D+0, D+1, etc., on a monthly basis.
I’ve attempted this a few times in Alteryx but haven’t been able to get it to work as intended. Any guidance or suggestions would be greatly appreciated!
Thank you in advance for your help!
@AlteryxJorge
You can get from both Period End Date and Entry Creation Date the month as a number and then check if equal or not. If not then you are in D+0. If the Period End Date is bigger then it will be D+ and if it is smaller then it will be D-.
Then you will need to have the next rule, if it is + or - take the day as a number.
All you have left to do is combining the D+ and D- with the number day.
All the above can be done with Formula tool, using IF statement.
Now for system Q you will need to have 1 rule that if month is bigger but it is the last day of the month that it should be D+0
Thanks for replying. I didn't think of using the date as a number, good idea. I'll try it.
For the next rule, I don't want to take the day as a number, I need to count business days, not just days. And since the first business day of each month isn't usually on the 1st day of the month, taking the day as a number won't work.
@AlteryxJorge
Good point on the business days. I guess that now you have some idea on how to get it solved.