Level of detail fields

TJ Banghart · Friday Demos · May 23, 2025 · 3:01

We're beefing up the querying engine to open up level of detail calculations in Omni. Escape or force grouping independent of the rest of the query. Great for dynamic percent of totals,…

Try it yourselfThe full week on docsmodelingworkbook

Transcript

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

  1. All right, I will go. Let's see. Okay, cool. So, I've been trying to demo this for a little bit, but every time I think of like a scenario or a situation where I can actually show what's happening, I get a little confused. So, we we'll go with this for now. Products table. Um, basically, let's say I have I'm grouping by category, brand, retail price, and distribution center.

  2. Um, and I want to aggregate over distribution or sorry, the retail price, but I want to always group by the distribution center for some reason like I want to take the max retail price and distribution center is always in the grouping, but maybe not selected. So, remove distribution center. Um, what we've added is calling it multi-level aggregation, but it could also be like custom group by or something like that.

  3. Um, click on that max. So, I'm taking the retail price with the the max of retail price and I'm always going to group by the distribution center. Um, add that. And under the hood, it's using omni dimensionalize. Um, remove. And now I have this dimension that is the max retail price by distribution center. Um, that takes the grouping context of like the outer query and then applies the additional grouping that you've um specified.

  4. Um, and you can like aggregate over that as well. Take the sum. Um, but then it's also modeled. So if I go to the definition, this new little model parameter group by that's on the dimension. Give it an aggregate type. And then you can choose uh other fields that you always want to group by. You can also choose fields that you don't want to group by.

  5. So always exclude. Um, and then later we'll eventually add fixed. So fields that are let's say you just want like a grouping context that's always the same that doesn't pay attention to the out the outer query um will support that as well. Um so and this is coming from customer requests that wanted to like by certain needs that um they're meaningful but they don't actually want to display it in the results.

  6. Um so yeah I think there's going to be a lot more stuff related to that. Um, but that's a start. And let's do else. Um, and basically that's level of detail in Tableau is what we're trying to do, but I don't know if that's like a copyrighted term or if that's if there's some like, you know, Yeah.

  7. I mean, that's a good call out just for folks on the GTM side to know when that is asked for, this is what they're talking about. And other tools don't do it really aside from Tableau. It's super clunky. So, Yeah, that's huge, DJ. Yeah. And and honestly, this is more elegant than the Tableau version of it, in my opinion.