We posted the solution JSON file to Cloud Quest #30. Check it out and let us know what you think! Send suggestions to academy@alteryx.com or leave a comment below!
For more detailed instructions on how to import and export Designer Cloud workflow files, check out the pinned article Cloud Quest Submission Process Update.
In Alteryx Designer Cloud, continuous numeric values are left-aligned by default, which can make it difficult to visually compare numbers with different digit lengths.
In this week’s Cloud Quest, your task is to reformat the given [Amount] column so that each digit—including the decimal point—is placed into its own separate column, ensuring that all decimal places are perfectly aligned. Each numeric value should have 2 decimal places.
By the end, your output should be a structured table where numbers are visually easier to compare at a glance.
Source: https://www.mashupmath.com/blog/expanded-form-with-decimals
Bonus: Make your workflow dynamic to accommodate any incoming [Amount]. Assume a maximum of 2 decimal places.
Hint: Ensure [Amount] values have two decimal places before counting digit lengths.
If you find yourself struggling with any of the tasks, feel free to explore these interactive lessons in Alteryx Academy for guidance:
Once you have completed your quest, go back to your Analytics Cloud library.
- The Academy Team
Got the bonus logic to work!
Here's my take
Solved! This should accommodate any numbers to the left of the decimal (and assumes 2 to the right, as per the instructions)
I like this one.