Spreadsheet pivot calcs

calcs workbook · Friday Demos · January 26, 2024 · 4:28

We're also continuing to make progress on pivoted spreadsheet calculations - inside and outside pivots, relative references, and full row math. Huge step forward for flexible cohorting.

Transcript

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

  1. um I can probably follow up with a less less flashy and spectacular uh couch demo um so I've just we've been doing like a little bit more pivot refinement um I can't remember last week if I showed that uh we were now doing pivot offsets when you click on these instead of uh static pivot values but we write a pivot offset um now and also you can get the static reference if you command click on it will write you the static pivot reference so there's sort of like a little bit of a power user um ability there but then originally we had a two argument pivot offset which was the field and then your column offset um I was trying to simplify offsets a little

  2. bit because they get kind of confusing because they accept like five arguments um and instead we just just made them uh either three arguments or five so now like they have this um the reference the roll offet the column offset number of columns and rows uh are all valid arguments so um you could like uh and to be clear this functionality has been in the product for like I think like over a year Stephen demoed this forever ago um but if I did like a a a width here of two and an off instead of nothing then it would allow me to like sum over uh both pivots um so I mean I think this one might not be working because of its position obviously

  3. but this one would be correct so this probably makes more sense no no that's you could also just subtract um like if you're if you're going to do that just subtract backwards a couple and make it essentially extra columns and then it'll work oh yeah that's probably true too but yep um but this is the concept is it like I can I can do that yeah like so if we wanted to do like percent of total in line here um yeah so you're saying like do a do like a I'll put like a four here and like a can't remember it's row offset so like negative2 here or something like that and I don't think want I think I think you want column oops Yeah

  4. so go Zer negative -2 there you go if I don't integer so now I should the same in both here yeah and so then if we wanted to do like uh B1 over then that should be percent of total something like that yeah um guess if I did it as a percent um anyway so uh unlocked a bunch of power there that was um you know sort of already in the product because stepen made this complicated pivot offset thing a long time ago but now it's it's available to end users a lot easier this is awesome um and like people have already found moving the stuff inside and outside pivots this is where we've like no one else does this stuff so I I know

  5. it seems kind of crazy but like we have a calculation language that is both obey and Excel and is also a superet in terms of like the pivot handling and moving things inside and outside of pivot table um so like this is just super magical I think some of this calculation stuff that's like really complicated could be good for the data Advocate role type person that you have coming on time like because if a lot of people probably just don't expect this level of support in the tools so if we can show them more advanced stuff to try and like guide the audience um I don't know it's just because obviously people are building really advanced stuff here whereas like I don't know about it

  6. until I get to these calls and calling obviously you're on it but if you could like probably push the needle on expectations for what you can do in Omni I think that would like be a really strong like technical thing to publish yeah that is a lot of what I'm thinking for this role and actually just made a couple notes on a few of these to do uh like nice videos for from for LinkedIn for next weekend especially like the the new calculations um so definitely