
Dynamic groups (top N, etc)
Now you can create completely dynamic groups even based on associated metrics (ie. top 10 by count + other).
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
first thing. And then the second thing was a feature request that's been open for a little bit is when you have groups and you want to do like a top 10 or something like that, you can do this auto add. Uh you can do the first five rows based on the you know the ordering of the count.
Um but that's not going to be dynamic. So it'll generate that list once and it'll be a case statement. Um and now this thing, this new option is dynamic based on a measure. So you can have, you know, give me the top or bottom five. Do like 12 or something like that. And then lump everything else into other uh choose a measure.
So let's do it by users count. So what are we doing? User state by users count. And this also needs some designs as well. And Sarah left a lot of good comments in the PR. So we'll address those. Um and then you have a dynamic uh top here. I hope that was right. Edit it. Yeah, I did 12.
Okay. So, let's do top one. Um, California, then I think other. Yeah. Uh, so that's be cool. And the reason why we didn't do this before, we just didn't really have a way to do subqueries like that. And it's based off of the level of detail stuff. So, it it is kind of a crazy uh SQL expression.
We use the row number to maintain the sort order. Um, so that the there's consistent ordering. Um, and that's it. That's awesome.