More table calculations

Richard Czechowski · Friday Demos · October 20, 2023 · 3:33

An overhaul of our table interaction model to allow keyboard nav, editable quick-calcs, and in-line drill-down

Try it yourselfThe full week on docscalcstableworkbook

Transcript

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

  1. sorry there we go yeah I mean I was waiting cuz I went first last time but I will demo I've just taken the first slot yeah I guess so um I have a lot less to show this week um some stuff I'm not going to show like parentheses work now um things like that but uh um most of the tables like the improvements are to the table this week that I'm working on so if I like I just put in a cal here to calculate the length of product name over here um so that I can get large product names and you can see that now this is keyboard nav and I can nav around the table um and it shows the value up here

  2. which makes it easy for me to like copy paste it out and stuff so we don't have to worry about as much of that um the drill menu is now in a little like uh hover thing off to the side um let's see but and then if I like come over to a Cal and hit enter Then I can edit that cal um so mostly table improvements like that um the other thing is that now these calculations um when you created them before because we use special functions under the hood um does even show the squl yeah we have like Omni percent of change from previous uh doesn't UNP parwell into um Excel so so we have sort of a custom UNP parser running now

  3. to where I can double click on it and get the um the formula so we're just sort of um creating a formula under the hood and then allowing you to Ed it so um I think that that there's currently a bug in this where I'll lose this formatting if I hit enter so that's a problem that I need to solve but um you'll see that now it's now like a more uh it it the the function that we're writing or um the SQL writing reflects better what's actually going on here so we're not using that function but keeps people enough to write crazy stuff so um I think that's it this week uh I guess the other thing is that the IDS are better we're

  4. no longer creating like a crazy calculation ID it's now just like numbered calculation IDs because there was a really interesting bug where I was just creating random numbers and um they were actually colliding more often than you'd expect because they were too big and they would frequently hit the max some JavaScript number size and end up being the same number so um anyway that's it that's awesome is um is the stuff you did for field selection there um is that the same as what would happen in the normal table or is it something that we could lift into the normal table um like where you were showing the full string there that's just for everything in the like those weren't even Cals that you were

  5. clicking on there right correct yeah yeah yeah so I just have it so that if you're if you click onto the table anywhere like this is just a dimension then these just show the value up here beautiful you can't like double click on them or hit entered this but that alone is amazing yeah and then it lets you just NAB around the table a little better um with the keyboard and then yeah shows you the value so I can click anywhere and see these amazing yeah yeah suspiciously similar to an ask you had on Wednesday to see it