Solved! Go to Solution.
sorry, pic in here.
Hi @ups366 ,
I think, you want to identify the k-th smallest value in a range and calculate the difference of this value to each other value. The most important issue is to rebuild the logic of the SMALL function in Excel. This can be done by sorting the values (ascending by sales) and selecting the k-th value (5th in your example). You can then append the result to each record and calculate the difference:
I've attached a sample workflow. hoe this is helpful.
Best,
Roland
Dear Sir, just so so !
Thank you very much !
BTW, I have a other question for formula function, why haven't like max/min/average/small/large/rank formula for field in Alteryx ?
Hi @ups366
In order to calculate the Min, Max and Avg of sales we need a summarize tool. I have modified the workflow of @RolandSchubert. Please find the attached workflow and let me know if you have further questions/ doubts.
thank you a bunch !
IMHO, if we can calculate min/max/avg./small/rank of field directly in the formula, it may reduce the amount of calculation and the user operation is simpler.