I am trying to insert a reference line into my bar chart for bench marking purposes.
To elaborate, the bar chart uses the measure: SaleAmount, and dimension: SalesManager. I want the reference line to display as the average of the top 20% of SalesManager. My current expression uses Rank to display the reference line as the average of the top 5 SalesManager, but I need to change it from that to "top 20%".
*Due to the structure of my data, I already use the aggr function to aggregate sales by sales associate in the set expression and also by sales manager.