Is it possible for a QuickSight dashboard to dynamically read and apply a filter value passed through the URL?

The ask is for users to click on an Id in another internal tool (Lugia), which is linked to the dashboard. When they are redirected to the dashboard, it should automatically filter to show data for the selected opportunity_id—without requiring users to manually enter the ID in the filter pane.

Does QuickSight support reading parameters from a URL to apply filters dynamically? If so, what’s the best way to implement this?

Thanks in advance!

Hi @Parimal_Dhasmana

You can append a parameter name and value to a dashboard or analysis URL to set its default value. QuickSight automatically applies the parameter value when the dashboard loads, allowing you to drive filters dynamically from the URL.

Please refer to the below documentations this might be helpful for you.

1 Like

My requirement is a bit diff from documents shared above. Explaining it as below:-

User will click on a unique opoprtunity_id in external tool (Lugia) which will redirect the use to my dashboard. In my dashboard the user should see all the tabs showing data for the selected opportunity_id as per Lugia Tool Dynamically.
Now I created a Parameter and passed it into the filter but I am not sure how will the Parameter read opportunity_id from URL .
Example URL : https://us-east-1.quicksight.aws.amazon.com/12cbe6a6-af80-455c-3f603

Here ‘12cbe6a6-af80-455c-3f603’ is opportunity_id and my parameter should read this opportunity_id from the URL directly.
Can I achieve this in QS?

Hi @Parimal_Dhasmana -

Your use case seems pretty standard and the links @Xclipse should do the trick.

https://us-east-2.quicksight.aws.amazon.com/sn/dashboards/abc123-abc1-abc2-abc3-abcdefef1234#p.opportunityId=2cbe6a6-af80-455c-3f603

Does your Lugia Tool have a limitation that it can’t pass both the dashboardId and the opportunityid (quicksight params can’t have spec chars) in that format? If can’t control the full URL string for some reason, then the only way to do this would be a custom embedding solution, that takes 12cbe6a6-af80-455c-3f603 and maps to the dashboard and the parameters.

Thanks for your response @robdhondt .

I created a parameter using opportunity_id. But I am not able to figure out how do I configure that parameter to take opportunity id from URL. There seems to be no such option ( Please see reference SS).
Can you please guide me on how can I make this OppurtunityURL parameter field that I created to take value from the dashboard URL?