Free text spreadsheeting

Richard Czechowski · Friday Demos · January 12, 2024 · 11:39

Have you ever wanted to just add text to each rows by hand in the BI tool? Now you can. A new spreadsheet interaction for adding free text. We need to open up more and more possibilities…

Transcript

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

  1. um next thing is that we got some like arbitrary data entry stuff in so um if we wanted to like I don't I don't know translate these to German or something oops um then we could just like Drop in some arbitrary text which allows us to maybe visualize it so now I can have my you know up here or if we wanted to do data labels or something we could uh let's see I think you can label by another field here so we take the calculation and position those above and then we might have you know now we have these data labels in here or you know it's good for putting stuff in the in the tool tip all kinds of things so um these

  2. also work with pivots so if I have let me remove this one because it's not going to be that useful in pivot um if I have a pivot like this I can add a new column and then on a per pivot basis just kind of like put in information wherever I want here um so anyway interesting for data tagging things like that so um Works maybe not exactly the way that your Excel sheet does um because these are not you know they're tied to the dimensions and the pivots so they will um you know they're not particularly reusable in that respect but they're still pretty interesting and I think there's a lot of cool use cases there yeah and if I can do a follow

  3. on with that I'll show you another cool sort of extension which is question for Richard before while you're pulling this up um yeah I assume the trigger or I should say like lack of trigger is just no equal sign gets handled as that exactly which is which is what Excel does basically do we have any thoughts about and I'm sure I'm sure this is on the radar like treating date like strings as dates like Excel does and things like that um yeah I mean dates are still something that we haven't really tackled we we hope to figure out how to handle them um for like date math and things like that but uh and ie like you mix integers and strings it'll do what it's

  4. doing with other calcs where it'll just sort of find the the most the sort of least common denominator among all the types um I I think so for the most part pretty much everything that you drop in there is a is treated as a string today though um so it would be if you used that calculation then like in another column and you were trying to do some math or something with it then we would probably cast it to the proper thing I did this before and it worked here wait I'll save C vi just to make sure test I think something funky is happening on the requery oops equel test c one so should say it's not saying paid or unpaid um buuck it

  5. going move this to the third column so I've classified my sources and then I should actually just be able to query at that okay so we got Cal one and then we can go a sum and so now it's taking my classifier from my original query and it's actually reaggregating them so I can kind of essentially do on the fly bucketing in the bi layer which is I mean this is wild actually because I'm just able to tag these by hand does the Cal become a field uh it did because I saved it as a view here um but here's what's actually kind of interesting is you can see what we're doing here is we're actually just writing a big case statement so we're pinning

  6. this to all the dimensions that exist so you can see that search got organic email got organic so this is actually promotable and this would be the same as writing a giant case statement that's case when this then that when this then that when this and then that and then all I'm doing is a regroup on it so we could make that a promotable field if we want but it's like really nice in this little lightweight workbook UI this could also be really cool for like annotations and things right like if you're calling out something and you want to put a note there mean we don't have like necessarily the visual you probably probably have something could be labels yeah could be lab Rich Show

  7. yeah y like hey there was like if you hover over some date and you're like this was Christmas day or whatever it was you can like basically do arbitrary annotation you can you can shove it into tool TPS like that that's really cool so why why not just make it a regular case statement uh it's just 10 times faster to do that um like you would have had to write a case statement if you did that before you mean like why do we functionalize It Funky I think like when I think of calculations I assume that they're only operating on the data set that was returned and what you just demonstrated suggests that you can promote the calculation and turn it into something that can

  8. be like you said put in the bi layer and so what I'm wondering is like in the save qurious view um view did you does that no longer become a calculation is it now just like a field with a case statement or how is that working uh it essentially is a field with a case statement because we're just saving that whole SQL block and so that whole it's it's actually kind of both at the same time in that it is tied to the query and in that query it's a case statement but it's locked to the query so it's not generalized outside of the query context but it could be okay so for for calculations they use the equal sign where you say like sum

  9. of some column yep if you promote them do they only stay the sum of the results that column that's returned or do they become like so they become they become generalized um and and this I think this is why we don't have the promotion on it yet is that we need to separate between the fields that are easy to promote so concat column one column two would be it's always going to make sense sum of table is not always going to make sense and so we probably want different promotion workflows for those two types of fields that's exactly where I was driving with this yeah we literally have a threat about it on GitHub right now that's like let's make the first one really easy

  10. to promote and let's think about what we want to do with the second one sorry I just have a quick followup question I'm not sure if this went over my head but um did we just kind of release annotations other than the inability to put them on a chart elegantly yes but this is going to be the backing this is how we'll do we'll do annotations we want we want to get to I people are implicitly saying this but this is such a weird Concept in bi like what we've opened up right here it's so weird and Powerful I would encourage everyone here to think about how they could use these and where they could use these because we almost want to now that we've

  11. opened up something this powerful we want to think about places we can go inject these things and like there's obvious ones like I want to annotate a line on a chart or I want to annotate a tool tip on a point or I want to regroup it into a pie chart like you saw I think there's probably other creative stuff that we could do that's like add a note on a row that is only available on hover or something um we should think about all the crazy stuff that you could do if you could just drop text onto a line and then put it on a dashboard or a table or a chart but you do when you do save query's view what is dim

  12. count in that situation in the field picker uh that was the the metric that was in the table so here I I'll just put it back up one more time yeah the the names are definitely not ideal pulling through the labels for sure so this is user count and over here dim count is this is just user count it's just it's poorly named to hammer home P one is what shows up in the sequel right as the okay um and it should be bucket but Nate what's crazy here um is because this is a case statement that's tied to traffic Source if I now add gender the case statement still works it just duplicates per row which is so crazy and interesting actually um we'll

  13. want to have like an other bucket too so if like a new traffic Source comes in you can sort of have it all come I I think that's actually what would happen um it would just come in blank because yeah because ull is it's in here like it's writing a valid case statement so like the crazy thing is like it's actually somewhat scalable um like it's very very elegant it's just a little bit wacky um and I don't think that we're going to want to push all these down but I think there's lots of places where you might want to actually well or yeah it's scalable for the user there's a we almost didn't put this in due to worries about it scalable in terms

  14. of uh the the code side but that's you know that's not my problem even yeah exactly you're talking about the execution time uh not so much the execution time but the fact that like it's saved literally like that as a big case statement this big serialized case statement and every little edit you make makes a new query with a new copy of the Cal and so like we may need to someday figure out we'll see maybe it won't be a problem maybe just like that you're worried about somebody who goes and annotates a thousand rows yeah and if if many many people go and annotate a thousand rows like the size of the storage queries could get large but we decided it just wasn't worth

  15. worrying about yet until we actually see that I feel like we're probably okay until we offer like the you know drag down Behavior where you could legitimately you know do this for 10,000 rows without thinking about it yeah maybe or allowing people to paste stuff in yeah maybe just like never figure that out before we offer drag down or paste and because this is a challenge and I just need to go do it now I mean I saw people build merge queries with 30 queries on it at looker so you know people are willing to do some crazy stuff call to your point on your last demo where the the values filled in I actually played around with that a bit yesterday and I have

  16. some thoughts but I'll keep them off the demo recording