Single select filters in model

Steven Talbot · Friday Demos · November 1, 2024 · 2:50

Now string fields in the model can explicit be set to single-select dropdowns, allowing for cleaner usage of items like filter-only fields for templated filters or parameterization.

Try it yourselfThe full week on docsfiltersmodelingworkbook

Transcript

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

  1. I'll I'll go probably because Conrad uh I think people may not notice used the little feature that I was going to demo uh that came out this week um the um so this I think the thing he must have done this uh in his brand new work we've got we've added this filter single select only uh thing to the to fields of filters in the workbook so you can Define this in the model and what it does is makes the filter makes this thing that we already had on the dashboard right so this is my field I added that you pop over and now it's the single select filter that you know you can add and it's truly an only like if you then go

  2. to the dashboard and try to add this filter it's just there's no option to choose advaned it's just that's what it is right so so that's uh out of that feature um this is more next one's kind of more of an internal PSA but we can still it's not secret uh Steen could I just ask a question before you move on on that one um is that restricted to Strings yes uh or like could I do it on so so like I couldn't do it on a date I would like cast the like if I wanted a date drop down for example I would cast the date to a string and then essentially make a string selector filter or something like that yep yep okay

  3. perfect yeah it really wants it because those single value ones really they like they basically don't work without suggestions the single drop down needs suggestions so yeah and I presume then does it also require a suggestion list or it doesn't if it's if it's on a if it has a suggest room field or a or it's on a real Dimension it will get its suggestions normally and work like that so it doesn't require okay but if it doesn't have if it's a filter field without a suggestion list then y yeah you're gonna get it's gonna not work well okay but like you could put it on a just a vanilla Dimension if you wanted to vanilla Dimension okay very cool yeah um is this is

  4. this only config through the IDE or in the UI as well right now only through the IDE um there's no there's no UI option for it yet in general filter only fields are one of the few things that you really can't there's not really any way to do them in the workbook period um