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.
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.
Process: - Join data on PN - Union left and join outputs - Summary to calculate Total Prior APV (for calculating proportions) - Sort by PN then by Prior APV (desc) to get order correct for Split field - Join threads on PN - Calculate proportion of each supplier against Prior APV - Generate data for Split field - Aggregate data and concatenate Split field (group by PN) - Remove "," and "-" from Split + Ensure Null records as required - Remove Proportion field