Enabling cross-filter functionality in Looker dashboards that use different datasets for different charts is possible by way of linked filters and dashboard actions. Follow the procedure given below to achieve this:
Build a Shared Filter: To begin with, your dashboard has a filter common to both datasets, focused on the identical UID within both sets. Depending on the UIDs in question, this may either be a drop-down box or a check box.
Deploy Dashboard Actions: In the dashboard configurations, actions that connect the filter to your charts can be created. For example, if you have two charts and you click one of the data points in one chart, the filter on the other chart can be changed based on the clicked UID.
Set up Every Chart: The timeout common filter should be switched on for every chart. When you open the chart settings, assign the filter you have set up to the appropriate field of your data sets so that whenever the filter changes, all the charts associated with that filter will change as well.
Evaluate the Effect: Once all the steps have been completed, it is good practice to evaluate the dashboard. If you change the option in the filter, verify that the charts modify automatically based on the specified UID.
Think About Looker Blocks: If this approach has problems, consider using Looker Blocks or building derived tables that join the datasets based on the common UID. This way, one data table with all the required data can be created, making it easy to filter.
With the help of these steps, it is easy to enable cross-filter across different datasets in your Looker dashboard. However, in case you face any concrete issues, you can check other situations in Looker’s help resources or their community forum.