I'm trying to get median calculated and it's always returning me 0 as a result. I found out that I have lots of 0 values in my data and I'd like to filter those out of the median calculation?
I can do that in SQL but I couldnt find a way to do that in explore. Is there a way to do it?





Thanks for sharing your insight on using a calculated metric to handle 0-values in median calculations—this is a great approach! Returning a NULL instead of excluding data entirely helps preserve the integrity of other metrics in reports with multiple measures.
Your example formula is clear and should be very helpful for others facing similar challenges in reporting. If anyone wants to explore further, ensuring that the calculated metric is correctly applied across all relevant datasets will be key to getting accurate results.
Appreciate you contributing this useful solution to the community!