View the original community article here
Last Tested: March 2021
Looker’s percentile and median measure types employ some complex sql to perform percentile logic at the aggregate level rather than in a window function. To prevent fanout through joins, Looker needs to employ
percentile_distinct, but this hasn't yet been built out for every database we support.
- Use `median` or `percentile` function in table calculations.
- Create a derived table which computes the median.