This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
While @WillBowman is correct in saying that you can use a macro to run the various iterations, you don't require one. You can calculate all the Med_Incomes in one workflow by carefully grouping by decile throughout your workflow in the summary, sample and Multirow tools and ensuring that the various Joins and select tools include the decile field
The attached workflow is a simple modification of yours and does exactly what you want. No macros required