Hi guys,
I'm pretty experienced with Excel but still a novice in Power Query so apologies in advance if this question is trivial for some but I can seem to find the solution anywhere.
I deal a lot with multiple policy numbers and which in turn can have multiple claim numbers. These are always listed in my data in rows, so each row will have a policy number and a claim number. For policies with multiple claims, each claim number is on a new row with the same policy number beside each claim. So for example, a policy with 4 claims will have 4 rows in my data, the same policy number on each row and the 4 different claim numbers listed on the row. The image may explain it better.
I'm trying to pivot this in some way so that I have one row for every policy number with the associated claim numbers pivoted in columns on the same row. I've tried pivot other columns etc but can't seem to get it to do what I want.
Could somebody steer me in the right direction?
I'm pretty experienced with Excel but still a novice in Power Query so apologies in advance if this question is trivial for some but I can seem to find the solution anywhere.
I deal a lot with multiple policy numbers and which in turn can have multiple claim numbers. These are always listed in my data in rows, so each row will have a policy number and a claim number. For policies with multiple claims, each claim number is on a new row with the same policy number beside each claim. So for example, a policy with 4 claims will have 4 rows in my data, the same policy number on each row and the 4 different claim numbers listed on the row. The image may explain it better.
I'm trying to pivot this in some way so that I have one row for every policy number with the associated claim numbers pivoted in columns on the same row. I've tried pivot other columns etc but can't seem to get it to do what I want.
Could somebody steer me in the right direction?