In the training "Add Chart Layers and Context in Views Example" they use the rule mark to add "average of sales by state". I am looking to do the same in one of my views. I would like to be able to add the Median of a KPI to a chart of mine.
What does the PQL for this KPI in the example look like? I get errors of nested aggregation when I try to take the median of my KPI.