14.11.2023, 23:47
Moin
Dann sind wohl alle bisherigen Lösungen mit dynamischen Arrays schon wieder überflüssig.
https://techcommunity.microsoft.com/t5/e...SU9OU3xoSw
GROUPBY
To do a simple GROUPBY, you need just 3 arguments: i) What to group by, ii) the values to aggregate and iii) the function you'd like to use for the aggregation.
GROUPBY(row_fields,values,function,[field_headers],[total_depth],[sort_order],[filter_array])
PIVOTBY
PIVOTBY is the same as GROUPBY but it let's you group by column too.
PIVOTBY(row_fields,col_fields,values,function,[field_headers],[row_total_depth],[row_sort_order],[col_total_depth],
[col_sort_order],[filter_array])
Dann sind wohl alle bisherigen Lösungen mit dynamischen Arrays schon wieder überflüssig.
https://techcommunity.microsoft.com/t5/e...SU9OU3xoSw
GROUPBY
To do a simple GROUPBY, you need just 3 arguments: i) What to group by, ii) the values to aggregate and iii) the function you'd like to use for the aggregation.
GROUPBY(row_fields,values,function,[field_headers],[total_depth],[sort_order],[filter_array])
PIVOTBY
PIVOTBY is the same as GROUPBY but it let's you group by column too.
PIVOTBY(row_fields,col_fields,values,function,[field_headers],[row_total_depth],[row_sort_order],[col_total_depth],
[col_sort_order],[filter_array])
Wir sehen uns!
... Detlef
Meine Beiträge können Ironie oder Sarkasmus enthalten.
... Detlef
Meine Beiträge können Ironie oder Sarkasmus enthalten.