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: - Separate data to columns - Clean-up and set data types - Convert to proper date format - Clean-up and Sort by Client ID and Date - Determine Quarter for each client - Extract Year from date - Join with Cost data (join on Year) - Calculate cost and revenue for each client and quarter - Aggregate Revenue and Cost (group by quarter) - Calculate profit margin - Sort (desc)