Question

Dynamic Filtering in Embedded Looks

  • 2 December 2015
  • 4 replies
  • 1140 views

Hi,


So I have embedded a looker chart on one of my web pages. What I am looking for is that when I click a filter it should filter the chart on my web page. That is, I don’t want a static chart on my webpage. It should be interactive. Has anyone done this before?


4 replies

I know this is an old thread, but I was able to get this working by following this example here for overriding.

 

https://discourse.looker.com/t/override-look-filters-in-the-url/6649

 

New url: Override Look Filters in the URL – Looker Help Center

I know this is an old thread, but I was able to get this working by following this example here for overriding.


https://discourse.looker.com/t/override-look-filters-in-the-url/6649

Userlevel 3

I believe Rick is onto the issue here, it sounds like you are embedding the Look, rather than an explore or dashboard, either of which would show the filters.


If you’re embedding this privately then you can follow the instructions here, in particular the section on “Embedding these URLs via an iframe” to embed a dashboard or explore.


If you would like to publicly embed then you may want to look into the SSO options that Rick mentioned, which would allow you to have users passivly login to Looker to view these dashboards. There is additional info about Powered by Looker here.

We do this pretty frequently. The idea is to embed a dashboard, not a look, so the user has access to the filters. Ours are all LookML-based dashboards, and we’ve arranged our iframe so we also provide user-defined filters using the SSO stuff.


Is that what you’re trying to do?

Reply