Best practices: expressions or slices?

Hi All -

TL;DR - are there any guides / best practices on when to use expressions vs slices?

I have seen a few ways to filter a reference but wondering which method is best for apps. For this example, we can focus on active vs inactive employees.

Method one: Make a slice and then build a reference off the slice.
Method two: Updated the tables Valid_id expression to filter: FILTER(โ€œteamโ€,([status]=โ€œYesโ€)

Pretty sure you can also do this with the select expression but either way - are there any general hygiene or best practices when picking a method?

Thanks!

1 3 199
3 REPLIES 3

Generally, if youโ€™ll need to re-use the same filtered set many times, then set up a slice for it.

Agreed,

Not sure to what youโ€™re referring there @Grant_Stead? Marc nailed it; itโ€™s all about not having to redo calculations if you donโ€™t have to, or limiting calculations for other formulas.

@MultiTech_Visions has a really good explanation on this that I shouldnโ€™t try to reproduce. Maybe heโ€™ll grace us with some words.

Top Labels in this Space