I would like to get a median value for refund checks. My ERP data however lists checks multiple times in the table:
Voucher # Voucher $ Check # Check $
ABC $10 001 $20
DEF $10 001 $20
and so on.
So it is necessary to summarize the data in order to get a single row for each check # and check amount.
MEDIAN only accepts a column as an argument. I can create the SUMMARIZE data no problem.
But every attempt to encapsulate this inside a MEDIAN statement using ADDCOLUMNS or SUMMARIZECOLUMNS still comes back to tell me that MEDIAN requires a column as its argument.
Anyone have a solution for this? Thanks.
Voucher # Voucher $ Check # Check $
ABC $10 001 $20
DEF $10 001 $20
and so on.
So it is necessary to summarize the data in order to get a single row for each check # and check amount.
MEDIAN only accepts a column as an argument. I can create the SUMMARIZE data no problem.
Code:
[COLOR=#0000ff]SUMMARIZE[/COLOR] (
Vouchers,
[COLOR=#000000]Vouchers[Check Number][/COLOR],
[COLOR=#FF0000]"Checks"[/COLOR], [COLOR=#0000ff]MAX[/COLOR] ( [COLOR=#000000]Vouchers[Payment Amount][/COLOR] )
)
But every attempt to encapsulate this inside a MEDIAN statement using ADDCOLUMNS or SUMMARIZECOLUMNS still comes back to tell me that MEDIAN requires a column as its argument.
Anyone have a solution for this? Thanks.