Parameters / filter passing into fields (launched)

Steven Talbot · Friday Demos · May 3, 2024 · 2:31

Filters can now be injected into fields for parameterized reporting - opening up use cases like dynamic formatting, forecasting, or simply filters that can pass to calcs in the UI

Try it yourselfThe full week on docsanalysis-patternmodelingworkbook

Transcript

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

  1. things that have landed Jess SL this morning asking when parameters will land and I sort of cheeky made her this and sent it to her uh so this is the zoom in again um basically the the V one of parameters that don't exactly have UI support and we actually shouldn't call them parameters so scratch that of single value filter references so much catch here uh have landed so here you can basically in SQL you're referencing basic a single value from the filter so you can dates are actually kind of the weirdest one but I used it for this example so it just you know you can change this around and update and obviously this is a very silly example but you can use it for

  2. all kinds of things and you can put numbers and strings and yeah you could put a catch in here and then use it in a calat now right uh could you mean could you use literally I mean you can you could drop this into a field that just holds the value and then you could have a call that probably totally yeah yeah um the I thought you asking could you do it directly in a c that you wrote in Sequel and might no we don't we don't need to do that we can stop short of going that far yeah and then when we at in implementing that it wasn't that hard to also do um this other gesture no not that um B for because

  3. so for dates the single value makes the least doesn't often doesn't make sense but actually what often does make sense what you want is to pull out the two end boundaries of the dates to be of of the date filter to able to reference them so again this is a very silly example but you could use it to like people often want this to like push down of filter into these Legacy big query tables where you have to like explicitly specify the dates there are other use cases uh but yeah basically you're just saying like this is how I reference filters.

  4. users. prame filter. range end references to the end of the filter filters. us. Prime filter range start referen is the beginning of the filter so that is also there