I'm trying to store the median value of some tag historian data in an expression tag. I'm doing this with the system.tag.queryTagHistory function. I was looking through the documentation and it doesn't seem to support median as an aggregate.
Is there an easy way around this? Thanks.