Hello,
I have a table with 3 columns, where person_id is unique id.
<person_id> <event_type> <number_events>
1. I need to transform this into a table with <person_id> <event_type1> <event_type2>.... <event_type-n>
And under each column I need to fill the number_events for each event_type for that person_id
2. Next step is to use that table and convert the same into % of number_events under each event_type, as % of total number_events for each id_member
Thanks
I have a table with 3 columns, where person_id is unique id.
<person_id> <event_type> <number_events>
1. I need to transform this into a table with <person_id> <event_type1> <event_type2>.... <event_type-n>
And under each column I need to fill the number_events for each event_type for that person_id
2. Next step is to use that table and convert the same into % of number_events under each event_type, as % of total number_events for each id_member
Thanks