Hi Alteryx Community,
I'm very new to Alteryx and I was hoping someone could give some guidance on how to create a calculated field that tracks the overall status change for each project in my dataset.
My dataset has the following key columns:
I want to create a new calculated field called Status change that shows how the overall status of each project has changed over time. The possible values for this field are:
How can I create this calculated field using Alteryx?
Any help or guidance would be appreciated. Thank you.
Solved! Go to Solution.
Hey @FelipeQR, how does something like this look? I've removed a load of the fields just for ease of seeing the calculation in action - obviously if you implement this then just remove the Select tool! As you have a status date field, we can just sort, within each Project, the statuses in ascending order and then use a Multi-Row Formula tool to look up a row and compare the statuses. I've also added a 'Project Started' flag for the first entry of each Project as there's no prior status to compare to but hopefully this helps! Please shout up if you have any further questions or anything!
Only thing that comes to mind instantly is the final Project you can see in the screenshot. As we're going from (4) to (1) i.e. Unknown to 1 then I've assumed this can just stay as 'No Change'? The criteria above only stated changes between 1 to 3.
User | Count |
---|---|
106 | |
82 | |
70 | |
54 | |
40 |