Period-over-period

Steven Talbot · Friday Demos · March 8, 2024 · 3:28

More period-over-period work, this time polishing the front-end user experience to select dynamic time offsets.

Try it yourselfThe full week on docsanalysis-patternworkbook

Transcript

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

  1. next week or something oh and then period over period stuff uh this is mostly Sarah's work really I been implementing Sarah's Vision but uh she didn't want to demo it um so trying to just like a different way of hooking it up in the UI um if you so rather than putting it on the the date filter Fields rather than like randomly on the uh table header so filter field now it's this other option period over period you click it and now you get the filter and this kind of period thing so if if you don't do this first bad things happen and we're going to slim down this menu to only give you ones that make sense for period over period but actually no

  2. let's do so filters the heck is C who it's possible we broke the styling oh no I don't know why count fell off the page there that was weird anyway uh so now you have this multi select menu where you can click some period And so sure I want to see how this did compared to the previous these periods and there they go um and then you can same thing I showed this last time you can get this to add we have not styled this yet fully but you can add a custom period so I know seven months ago and again need to sort these so that they're in order need to put the actual thing that's resolve to the actual dates in here but

  3. it's getting a little closer and then you know near don't know why previous months not check that's a bug but can uncheck these hopefully they go away uh and and we talked about this last time if you put date in as the dimension this is not going to work right now yeah well I can show you exactly what it does it it's going to do something that if you really put your robot brain on you're like that is logical um but it's not what you want right you go like okay yeah like there are values for the one in 20 there's the values for the one in yeah in 2019 and there's values for the one in 2018 but they don't overlap right like really

  4. you want argu you probably want to do it with the time series although there's something a little uncomfortable about the idea of showing you on one line you know February 13th 2019 but then here is the value from February 13th 2018 yeah this makes sense though it's sort of an indicator variable saying it's in or out or so like you can you could use this to confirm to yourself like me like your mental model like hey what periods are actually within you know current or previous or something yeah although to be clear we will I will put we unless it proves to be really hard we will put that data in here up there yeah that makes well like what someone wants is they want

  5. February 2019 and then they want to see the offsets on it but we can yeah we'll get there that's right