cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Warehousing & Analytics
Engage in discussions on data warehousing, analytics, and BI solutions within the Databricks Community. Share insights, tips, and best practices for leveraging data for informed decision-making.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

how to reuse filter between pages in dashboards?

alex456897874
New Contributor III

Hi!
I have a multi-page dashboard based on a handful of tables sharing a common run_id field.
I created a dropdown filter widget on the first page to filter datasets based on the table's run_id field.
It worked fine for this page, but how to reuse it for all pages so that filter set on the first page is applied for all pages?

7 REPLIES 7

Alberto_Umana
Databricks Employee
Databricks Employee

Hello @alex456897874, can you try this approach?

 

  • Create a Global Parameter:

    • Navigate to the Data tab of your dashboard.
    • Define a new parameter based on the run_id field. This parameter will be used globally across all pages.
  • Configure the Filter Widget:

    • On the first page of your dashboard, add a filter widget.
    • Configure this filter widget to use the global parameter you created in the previous step. This ensures that the filter is applied to the run_id field

 

SLohse
New Contributor III

@Alberto_Umana 

Your proposed solution does not work. Can you please share an example dashboard file where this setup worked for you?

How can parameters be used cross-page successfully?

RobrechtS
New Contributor II

Hello,

Even when adding a parameter to the dataset this parameter is not updated when switching between pages.

If i provide a link to a dashboard with a parameter filled in and the user navigates to the next page the parameter value from the first page is not taken into account but the default (or null) is chosen instead.

Is this the intended behavior?

Kind regards

Socure
New Contributor II

I have this same issue - it would be nice to know if there's a resolution. When I switch pages the filter no longer seems to be accounted for

JosephM
New Contributor II

same problem here

Sshults
New Contributor II

I'm having the same problem.. Would like to be informed if a solution is provided.

Benjamin_DavidS
New Contributor II

I have the same problem here. filters are not applied while switching pages

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local communityโ€”sign up today to get started!

Sign Up Now