
Model pushdown for spreadsheet calcs
Model pushdown for spreadsheet formulas. We've been blown away at how much spreadsheet UX has opened up data modeling. Soon you can save a reuse those calculations anywhere.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
um I could do a really quick demo um it's very very early days um for this so I'm not going to show it off too much because it doesn't work in a lot of cases um but I have like a pretty simple Cal here um just double age for no reason uh and then I added a promote to feel or to model like button here we now have uh h2x over here um you know we can can go see that it has the definition that we want and the label um you know there's quite a few cases we can't push down so far and uh you know this needs lot we're going to have a lot more work to go on this but that's kind
of the initial direction we're headed with this so cool we've just made it so there's like 10 ways that you can model things now which is exactly what we want yeah chat GTP to model we just need to get the like chat GTP to excel to model workflow down I mean we have a chat gbt to model flow that's not that's SQL I guess but not not uh Excel yeah I mean we're just gonna have all of these like the whole point is that we just want all of them what do you have any thoughts about what will happen if you can't push it down um I'm I'm I'm trying to determine if we can one figure out if we can't push it down ahead
of time um so that we just don't show you or two today I didn't show it but like today it just gives you a little toast that says like sorry couldn't push that down um and I really I don't even have like a good can't push it down for this reason kind of thing yet I mean I've been working on it for like like it doesn't there's not a lot here yet so it's still pretty early yeah I don't want to uh imply that we should Chase competitors because I just don't philosophically believe in that but I definitely see a common flow being basically select star from and then model everything in Cals as like a totally reasonable flow yeah we could also I mean
if we with us there's there would be two reasons we couldn't push things down one would be that like it just really relies on something in duct DB um to work and basically if we attempted to switch it out of duct DB it it would probably fail uh and the others would be if it like is inherently calc like like it's running a window function basically under the hood and if we wanted to not have that jarring user experience we could allow you to basically put saved Cals in the model which is come up in a number of places uh and that colins grimacing not saying we should do that but that would be if we didn't want to like just always have that like
cannot cannot promote cannot promote like why just yeah sure you can promote and now it's kind of this thing that is not exactly what you expected but there it is it's in your model so that's an option yeah the reason I mostly hate that is um it like creates a different type of field now in the ux that we have to deal with so like I am much more comfortable with the Restriction of taking the ones that like quote unquote make sense because I think the ones that you tend to try to push down are the ones that make sense um if we do want Cals in the model which I mean there could be a reasonable thing the big thing is like we need
to figure out how they exist in the field picker and make any sense at all because if you click on uh like quarter over quarter change as the first field in a query it just makes absolutely no sense and like do you pull the whole query in do you do different things in different contexts I I just yeah I I think it can be challenging to actually come up with something that is actually good and I'd rather not let people do things than give them something that requires an enormous amount of context so we can think about it but like the examples that I'm seeing are someone makes a measure they multiply it by two they divide by 60 they create a date diff across
start at and end at like these are the beautiful things that are just like Boop make that a field um but there like the other examples that I would put in here about those inconsistencies it's like the we were we were doing the give am Mount of cookie um emojis in the SF office because like now everyone's like where are my totals on Cals um and like they show up sometimes but like sometimes you have a function that doesn't total properly and they're like oh can I can I put a formula in there to go make a column total like if you do a cal on a measure they're expecting it to behave like the measure so there's like these little Corners that sort of
work their way in as we build out more stuff for people um that we just want to like these are just emergent things that people are doing that we need to kind of follow some some sense