I'm trying to use Alteryx to do benchmarking. I have a series of facilities with survey questions and answers, and I want to compute metrics within the same facility for all facilities. There are about 130 different metrics. I'm also working with a prior analyst's work, where the metric definitions are next to each metric number on a different table. A toy example is below.
My thoughts on my options:
I welcome any thoughts on the right tool for the job. I can use Qlik or Excel also.
Facility | Question | Answer | Metric | Calc |
F1 | Q1 | 45 | M1 | 11.25 |
F1 | Q2 | 4 | M2 | 32 |
F1 | Q3 | 8 | M3 | 1440 |
F2 | Q1 | 42 | M1 | 7 |
F2 | Q2 | 6 | M2 | 42 |
F2 | Q3 | 7 | M3 | 1764 |
Metric | Definition |
M1 | Q1/Q2 |
M2 | Q2*Q3 |
M3 | Q1*Q2*Q3 |
Solved! Go to Solution.
I just thought of a way.
You can edit the Alteryx worklow in Notepad. I'd create a line of code for each formula in Excel then paste that into the XML version of your Alteryx workflow.
There's a really powerful CReW Macro called Dynamic Formula that is perfect for your workflow.
I've attached an example of how to build your desired output.
The key requirement is defining the data type of your metrics, and the data size. I used Double with size 8 as a default, but you may want FixedDecimal with a specific size instead. This is really up to you and depends on your granularity//accuracy requirements.
Hope this helps!
This tool is great thank you. It will take me a bit to learn and translate back to my actual data set but this is an awesome start.
Thank you both for offering your help!
Edit: I got the macro plugin working and it's perfect for what I need. This way I can change the metrics in an excel spreadsheet and just use those, but I will use the first response as a backup if things get hairy! Thanks again!