I have a calculated dimension as if(quarter = 'Q',null(),quarter). Which is displaying 11 quarters from 2017Q2 to 2019Q4. I want to display only first 10 quarters like 2017Q2 as P0 to P9 ie 2019 Q4. I tried with using agg function but its not returning any quarters. Can someone help me ?