Filter multiple child Dataframes using a single selector #949
Open
Description
Question
Hello,
I'm building a dashboard with dynamic data and have been facing a few issues that I'd like to get sorted out:
- I have a dataframe (let's call it df_1) with the whole dataset, loaded from a function that makes an API call. I then have 4 other functions that build different dataframes obtained by doing transformations on df_1. All the 5 functions are added to the data manager. The issue is I have a datepicker selector on the dashboard that let's select the period and all graphs should be updated but only the graphs built from df_1 are updated. Some of the other df do not have a date column. How can I correctly implement the workflow Filter date -> Load df_1 -> Filter df_1 based on the dates Filter -> Build the other dataframes -> refresh and graph everything ?
- The second issue I'm facing is that when rows are added to df_1, upon refresh the datepicker's end date is not updated to reflect the dataframe's latest date unless I restart the dashboard. The dashboard is in a server and manually restarting it is a nuisance.
I hope I was clear enough and would appreciate your help.
And thanks for the great library!
Code/Examples
No response
Which package?
vizro
Code of Conduct
- I agree to follow the Code of Conduct.