In Looker I have a dashboard that shows details about Tickets.
The 1st visual shows the NAME of the user who Opened the ticket and a count, then there is a 2nd visual showing the NAME of the user who is currently assigned the ticket and a count, and finally there is a 3rd visual showing the NAME of the user who closed the ticket and a count.
With these 3 visuals, the column/field for each NAME is in a different LookML view.
What I want to achieve, is have 1 dashboard filter to select a NAME that will filter all 3 visuals. But because each NAME field is in its separate LookML view - it is problematic choosing 1 of these 3. For instance, if I choose to use the NAME for who Opened the ticket as my dashboard filter, just because the NAME I select in my dashboard filter opened the ticket does not mean they are currently assigned or closed the ticket - meaning this filter would ONLY be useful for the visual showing who Opened the ticket and a count.
I want 1 filter that will dynamically filter all 3 visuals showing just 1 name and the same name which is provided in that dashboard filter.
Table Data:
- OpenedByTable -id, name
- AssignedTable -id, name
- ClosedTable -id, name
I am able to re-use a 'user' LookML view in case I need a 4th LookML view. Perhaps this 4th view could be used to join the above 3 onto?Then I use this desired/new column from the 4th LookML view
It does not matter that the name fields are in different views. When creating a filter, the view you are pointing is just used to populate the filter alternatives.
Let's say you have a filter based on
OpenedByTable.Name
. When you click on the filter Looker will issue a query something like this to generate the alternatives:If one of the alternatives is
Karl
and you select that, looker will then issue a query like this toAssignedTable
.I guess your explore looks something like this:
You can then build a
.lookml
-dashboard like this to have one visual for closed and one for opened, with a single name filter to control both.Or if you build dashboards visually set the filter like this: