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:
- Status report date: The date when the project status was reported
- Project ID: A unique identifier for each project
- Overall Status: A categorical variable that indicates the current status of the project. It can be one of these values: “(1) On Track”, “(2) At Risk”, or “(3) Off Track”.
- Multiple SR: A flag that indicates whether there were multiple status reports for the same project on the same date
- MAX_SR_Version: A numeric variable that shows the version number of the most recent status report for each project on each date
- SR_Version: 4 digit counter/identifier appended to the status report date.
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:
- “Worsening”: If the project status has changed from “(1) On Track” to either “(2) At Risk” or “(3) Off Track”
- “Improving”: If the project status has changed from “(2) At Risk” or “(3) Off Track” to “(1) On Track”
- “No Change”: If the project status has not changed
How can I create this calculated field using Alteryx?
Any help or guidance would be appreciated. Thank you.