App Studio - Pass parameter to a dashboard to filter the records

Hello Experts,

I am calling a simple dashboard from button click event in app studio. When user clicks the button, the slider will open the dashboard and show the dashboard.

Here I would like to understand two things,
i. When I click the button, why dashboard is showing empty records. It is showing records only after refresh the grid.
ii. How to pass a parameter to filter the dashboard results?

I appreciate your support! :slight_smile: