Static Reference Calculations

Friday Demos · September 29, 2023 · 7:10

Transcript

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

  1. I could demo the latest Excel e type stuff I don't even know if I'm allowed to call it Exel um Sor I gotta get the r Stu off my screen um okay so new stuff um the major new thing that we're doing now is um the UNP parsing so if we have like um like C1 over the sum of C right I guess 100 you get like the I think that's something like the percent of sum um of the users count column here and I send that and I get this and um you know then I want to say like add State because I want that in my table then this is no uh once I pull this over to the right nesting layer this

  2. is no longer C it's D like um so your calculation would have been wrong before when you open it back up but we're actually UNP paring the calculation like the SQL uh calculation back to excel now so that we'll show you the like proper thing rather than just sort of showing you what you actually typed um so that's nice uh another thing you can actually see here is um if I wanted to change the um formatting I threw some like quick formatting stuff in here I could like increase the number of uh decimal places stuff like that these icons are kind of temporary but um so unrelated but formatting is in there now too um I think that's it on UNP parsing but basically it

  3. all works like that I think the UN parsing is pretty much done at this point all the functions um Steven wrote a bunch of like custom Omni SQL functions that allow allow me to like unpar a lot more easily since before I was running into situations where just like the way we were compiling the SQL was kind of unreversed you wrote just with the proper cell references um next thing uh is um we were working on absolute references this week because Colin found out they didn't work um so like you can do like absolute references where A6 here will be fixed to A6 and then you know through like A4 um which won't really make sense at first first but um once you get down

  4. a little further it starts spreading out so like you can see the first one is always uh A6 I think that might I can't tell 100% if that's correct but we're getting pretty close this is still a work in progress started with such an obscure one really can you do like A1 to a dollar sign one or a yeah wait a dollar sign one to A1 dollar sign one to A1 is that what you want yep okay yeah exactly so this is like a moving average so we pinned the front of it to the first row and then we're going down to the next row essentially oh yeah so like if we did average here this is just a running average yeah awesome your running

  5. running average um so yeah I should have asked you for practical examples because I'm just like making stuff up uh what else I'm just curious yeah yeah can you try like a dollar sign a th000 to a to A1 I think that'll just be all nulls because I don't have a thousand rows right uh okay so it's gon to null out so in in yeah in Excel would it reverse that and give you A1 to $890,000 or would it because yes I'm not sure we operate exactly like yes it so it would reverse it it doesn't care about order is one side of it the other thing is like you would effectively get the nulls but this would just be a running average in Reverse

  6. is the way to think about it so it's pinned to the bottom row and it's grabbing to the top interesting does that make sense yeah so try here try this can you just scroll to the bottom of the table I just have 25 rows okay so go so go a dollar sign or A1 to a dollar sign 25 so this should be a running total from like a running average from the bottom there you go that's and that's that's how you do it it's just if you're an Excel you're lazy and you just type in an arbitrarily large number instead of 25 so you don't have to find the bottom oh gotcha and the order doesn't matter but like this is so close to being

  7. able to do everything you want to be able to do oh oh no hey man um anyway uh I think yeah so then um the other thing that works is like absolute references for you know if you need uh just just to like refer to a specific block of the data so this would just be you know this one section of data repeated all the way down so if you need those absolute references for some reason those exist um and then it should work across columns too so you can do like from the second row here to the fourth row here and kind of Imagine a rectangle around that um and you'll get that span um starting at the second row at 33 and then

  8. starting at the second row on this one all the way through the so um yeah I think that and then this is like under the hood a bunch of Steven magic doing offsets with addresses inside them again nobody wants to write that so um it's good it's good that we have somebody doing the hard stuff um cool I think that I think that's all the new stuff God that's so cool like I just can't emphasize enough about once we have all these building blocks in place and you can just draw on all the expertise from outside of the product in like spreadsheet land it's just going to be magical it already is magical woohoo