Hi all,
I am trying to find a way to extract duplicate data from one table where each value has multiple rows and get it into a table where each value has only one row.
So in Table A, I have the following columns: employee name, holiday booking date, future booking?, past booking?, sum of future bookings, sum of past bookings. So each employee has a row for every date they have booked (i.e multiple row for each value). Future and past booking columns contain a 1 respectively if the booking is future or past. The sum of future/ past bookings is duplicated per employee to provide a single figure (when averaged - seemed the best/ simplest solution to sum these 1s).
I need to get the sum of future/ past into a different table with a distinct list of employee names. Obviously as they sum of future/past are numbers rather than strings there will be more than one of each number (this table is only an example of a much larger one) so distinct formulas don't work.
I've messed around with calculate, sum, filter, allexcept, earlier etc, but I don't really understand them well enough to get it right/ know what i'm doing.. :/ just getting lots of errors!
I hope that all makes sense!
Thank you so much in advance!
I am trying to find a way to extract duplicate data from one table where each value has multiple rows and get it into a table where each value has only one row.
So in Table A, I have the following columns: employee name, holiday booking date, future booking?, past booking?, sum of future bookings, sum of past bookings. So each employee has a row for every date they have booked (i.e multiple row for each value). Future and past booking columns contain a 1 respectively if the booking is future or past. The sum of future/ past bookings is duplicated per employee to provide a single figure (when averaged - seemed the best/ simplest solution to sum these 1s).
I need to get the sum of future/ past into a different table with a distinct list of employee names. Obviously as they sum of future/past are numbers rather than strings there will be more than one of each number (this table is only an example of a much larger one) so distinct formulas don't work.
I've messed around with calculate, sum, filter, allexcept, earlier etc, but I don't really understand them well enough to get it right/ know what i'm doing.. :/ just getting lots of errors!
I hope that all makes sense!
Thank you so much in advance!