Passing a parameter from context menu to dashboard with BAQ

I would like to be able to open a dashboard from a context menu, and then fill out the parameter from the BAQ shown in the screenshot below.

image

I am able to open the dashboard from the context menu with no issue, and I can fill in this parameter manually and get the desired results. What I’m wondering is if there is any way I can fill out the parameter to filter the query without the need for user input.

Also, the query is updatable if that has any affect on how to pass the parameter.
Thanks in advance!

This post

and this post

will help you do just that.

@Banderson
I actually got that working partially. It’s an updatable BAQ that’s on the dashboard, so when I go to refresh it loads in the entire query like there is not filter on it at all. This would be problematic as I can for-see user’s wanting to refresh to make sure their changes took effect. Any tips on getting the filter to “stick”?

I’m not sure on that one.