Limiting drill from a dimension / measure to some Looks

sandsp
New Member

Hi all,

I have a requirement where I need to enable drilldown from a dimensional attribute to a different dashboard. I have used the link method with liquid for the attribute which works as explained in documentation.
However there’s a futher requirement to limit the drill-path to certain Looks - i.e. not on every Look that uses the attribute.

Is there a way to achieve this or are drill-paths applied globally?

Regards,
Sandeep

0 2 85
2 REPLIES 2

Hey @sandsp, you can make tht the link appears only when some conditions are met using liquid.

Say that you want that link to only appear in Looks that are using a specific Explore (Orders) and a specific dimension (orders.created_date).

You would then do something like so:

link: {
  label: "{% if _explore._name == 'orders' and orders.created_date._in_query %} some label {% else %} {% endif %}"
  url: "{% if _explore._name == 'orders' and orders.created_date._in_query %} some link {% else %} {% endif %}"
}

sandsp
New Member

Hi @Cyril_MTL_Analy,

Many thanks for your response. I certainly need to expore Liquid in-depth for the flexibility it provides.

Regards,
Sandeep

Top Labels in this Space
Top Solution Authors