There will be an user input filter(drop down filter) using HTML.
Now after changing the filter value the dashboard's data also will be changed accordingly.
So, how to pass this value to dashboard using function.
Please help on it.
Have you looked at this:
Or this: API Reference
I don't have any experience with this, but others have done it, so it can certainly be done.
Retrieving data ...