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.
I used generate row to create the number of rows needed for the actual data then a random integer based on the count of records in the replacement file - then joined on the random integer to a record id.
Since I work with HR data, this is something I have to do every once in a while! However, making this totally dynamic (if the columns in the original/replacement changed) was a fun challenge. Thanks, @Qiu!