Hi All,
I am hoping you could help me with a data manipulation problem I have. A bit of context, I study actuarial at University and I am currently teaching myself alteryx, and want to create a claims triangle from some raw data. I have attached the excel data set for reference.
In the excel file I have a before tab, which is the raw data we receive, and an after tab, which is what I want to manipulate the data to look like. Disclaimer that the figures in the after tab don't match up with the before, but just give an idea of what I need. I have to do the following:
1. separate out the different lines of business (motor and home insurance), which I can do with filter
2. Get annual claims figures for each line of business, by summing the 4 quarters of data for each year. I was thinking about doing a left formula to get the year for each column, then sum those columns with the same year at the top, but I'm having issues with this step
3. After this is done, I need to mirror the triangle, so that the 2020 year is in the leftmost column and it works backwards. I was thinking about manual moving of columns, but I assume there is a more efficient way of doing this.
4. Bring the claims triangles together on the same tab, with a seperate triangle for each line of business.
I appreciate that this is a lot of questions, but would appreciate any help on it, even to get me started/on the right track! I've been trying different approaches, but have hit a brick wall.
Thanks in advance for the help!
Kind Regards,
Peter