Black Lives Matter. Please consider donating to Black Girls Code today.

Pulling in data based on user input

Hi all,

I’m just getting started with Dash and have built a dashboard which is currently pulling data from static reports. Ultimately, I want data to be pulled through via queries based on the account ID that the user inputs. My idea is that the user lands on a page and is prompted to input their account ID, they then click a button, the queries execute and the dashboard loads, displaying their data. The thing is there are a lot of queries that will need to be executed, so it’d be ideal to have this in a separate file. Could anyone advise me on the best way to go about this?