Filter on calcs

Cathy Lennon · Friday Demos · April 4, 2025 · 2:18

You can now filter with calculations post-query! This opens up a huge number of new use cases, filtering rows for visualization (ie trimming off partial moving averages), removing some rows…

Try it yourselfThe full week on docscalcsvisualization

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Um, so let me share my screen. I've been working on implementing filtering for calcs. So, um, this isn't out yet, but should be out next week. Um, you can just have the filter option now. So, if you want to take a calc, which is like this is like the row and you only want to look at like the top five or whatever.

  2. Uh you can do that. Um another example show you like say you've got some calc I don't know whatever you're concatenating a thing on a string you can add a filter on it to see just the ones that start with letter. Um and then that should work with um promotion as well. So if you promote it then it'll update the filter out your filter.

  3. Um, Kathy, does this does this open up filtering what gets passed to the viz to like clip off rows? So, for example, could you write a set of calcs that has a moving average and clip off the top five rows with a row filter now? I think so. Um, it's just the result set. So, it's just whatever's being passed to the result set.

  4. Unless I'm misunderstanding the question. I think you magically solved another giant problem that we've had. So, well, let's hope so. Um, but yeah, Kathy, this is when we were playing around with like the putting the row index of like just I see on rows and then do a filter on Yep. less than five and then you just get top four, right?

  5. Yeah. So, that should do it then. Yep. So, like you could filter every other row. You could filter Yeah. Okay. This solves an enormous number of viz problems. Actually, the other um the other thing this solves really well is uh alerts. We've had a lot of folks who are like trying to create alert conditions off of calcs, but um you have like you can't then filter on the percent change over whatever thing.

  6. And so yeah, solves solves a ton of stuff.