
Table Calcs
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I can demo if one sec okay spreadsheets again um we are now looking at um sort of moving away from having both the SQL pain showing and editing in here to more of an inline editing situation um so one thing that's changed up front is that um you can't just type a one anymore you now have to start with an equals um so do that um but now I can click in and edit in line and you'll see that like I typed A1 initially but now this is A2 this is A3 this is A4 Etc and I can edit in here and say like plus uh B1 right um and you'll know that like now I have three nulles because I typed down here A5
plus B1 and up here we can't we're actually going to show more of a ref error but basically like above this this is b0 and B negative 1 so the formula no longer really works um so you can edit in line that's a big one um the this is sort of lined up with it so like I can I can also do my editing up here and it'll you know link back um and hit enter and get my results um an interesting thing is like we aren't really expressly working on pivots but um pivots work pretty well like if I pop in here and just set this to A1 oh my own problems um then like I'm editing both pivots at once and the UI
is pretty clear about that for the time being um so a 1 plus 10 um I'm trying to think if there's anything else interesting to show I think that's call moving call moving call oh yeah yeah yeah okay let me let me bump that down um so we're on A1 + 10 and um you know the one of the like key reasons to use A1 is just because it's like easy to reference rather than using the actual field name and you might be worried that like if A1 is no longer in the a position our thing's going to work so if you pull these over and switch you can see that it's just changing A1 to B1 and Back Again so um you aren't going
to lose your reference because really like we don't actually hang on to your references at all we throw them away and we unpar back from the generated SQL which you still can see if you go into edit calculation over here um so we're just UNP parsing this back to back to over here so um we we don't really care if you wrote A or B I think that's it so amazing have we given it to any customers to play with not yet not yet okay no I have I have a couple in mind that if we're down I know Richard's down but uh yeah I think there's some people we could start sharing it with or at least letting them know about the feature flag
yeah I mean I think uh actually Billet was the one who first brought this up that it would be a lot more useful if we have the you know A and B references in the table which we'd always plan to do but um I think pushing that forward and making sure we get that in would make this a lot more useful and then you can actually like see what you're doing rather than guessing at who's a and who's B um I'm not sure you know other than that like there's a bunch of nice to havs that will be coming in the future like you know showing what your referencing on the table and being able to interact with the table a little bit more but
um in terms of minimum viable product I feel like we're really close yeah and let us know if you want like a focused group for this because I also have couple customers in mind too Richard I just had a question on the pivots I wasn't sure exactly I saw you were referencing like A1 in the pivots and that's like a fixed position can you reference like the pivot field itself so um let me just uh pivot again and um so the the thing is is that uh users's age here is a and user count is B and then over here this is B again so if I say like just for the simple case of B1 it'll just be this value here and this value
here so like that you can reference field okay it's not like an absolute yeah okay okay that's that was exactly yeah so you can kind of think of it as like this is a this is B this is C like across and then it starts over with b and c again without your Dimensions so we were kind of considering that we might just put a b c and then stop or repeat um something like that to sort of indicate how how pivots work okay yeah we're we're hand waving around a little bit of the pivot ux just because it gets so tricky um like I was telling Richard and Ariel Excel doesn't even let you make Cals in pivot table I think because of these
sorts of challenges so we're going to have to figure out some stylistic things here that actually don't match Excel perfectly but this is like a really really good default because this is usually what the user intends yeah no that that makes sense I was that's why I was wondering because I was like wait a second is it an absolute like reference to that top Corner cell but it's not it's a pivot yeah yeah at some point we'll have to figure out more of the pivot ux but we just are punting on pivots for now because they're complicated however they do work fairly well and fairly intuitive so I'm pretty happy with it yeah no I think makes sense the with the way we do other
things with pivots right when you add a calculation and and do stuff you get a add all the I think it I think it's great