Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Median of revenue

alv123456
Level 6
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.

3 Replies
Andrey_Osadchuk
Community Advisor
Community Advisor

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

alv123456
Level 6
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.

Andrey_Osadchuk
Community Advisor
Community Advisor

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.