Hey! My goal is to create a filter in a Lookml Dashboard that allows the user to switch between Version 1 and Version 2 of a dashboard.
This will be the logic:
- Ifthe user choose V1 → show lookml dashboard 1.
- If the user choose V2 → show lookml dashboard 2.
Those dashboards right now are Lookml Dashboard but we can easily move them to a user-defined dashboard if that’s easier to do it.
Anyone with a similar issue and with an anser?
Hi @atisko-16478955 , I believe you can achieve it by using markdown or button at dashboard level:
- Button: you can easily pass the link of dashboard version 2
- Markdown: you can create your customized tab, button,… and include your version 1 & 2 dashboard url within it. Here is one example:
<ul style="list-style-type: none; margin: 0; padding: 0; overflow: hidden;background-color: white;border-bottom: 2px solid white;">
<li style="float: left;border-bottom: 2px solid #0f119e;">
<a style="display: block;color: #0f119e;text-align: center;padding: 14px 16px;text-decoration: none;"
href="https://replace dashboard link"><b>Dashboard Version 1</b></a>
</li>
<li style="float: left">
<a style="display: block;color: #8B8B8B;text-align: center;padding: 14px 16px;text-decoration: none;" href="https://replace dashboard link"><b>Dashboard Version 2</a>
</li>
</ul>
1 Like