Template custom expression

Hello everyone,

I have several complex custom expressions that we use regularly. To simplify reading, I have divided them into several sub-expressions. Now I'm looking for a way to save them as a template but I can't find how. The goal is to allow users to reuse them in their questions.

I tried to reproduce this behavior by the metrics but I can't use multiple tables.

Is it doable?

Thanks in advance.

Hi @flipflip
It's currently not possible to save as a template like that. That is what Metrics are for, but there's currently an issue around those:
https://github.com/metabase/metabase/issues/13069 - upvote by clicking :+1: on the first post
An alternative would be to make some questions and add those to a view-only collection, so people can use those questions as a template for new questions.