Expand my Community achievements bar.

SOLVED

Median of revenue

Avatar

Level 6

Hi, is there a way to extract all transactions revenue amount values? In order to calculate a median? Currently I can only see the aggregated revenue amount per product.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Have you tried to create a calculated metric with the median function?

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Have you tried to create a calculated metric with the median function?

Avatar

Level 6

Yes I did, but when I do it like this, it gives me the median per row item (calendar or dimension item), but I do not have each transactions as a row item.

Avatar

Level 10

Yes, it is dimension dependent. However, if you store Order ID in a variable (dimension), you can build a table with it and such a calc metric to get the median for the reporting period.