I can embed the quicksight dashboard and generate the embed URL for the visual but the parameters passed are changes to default. The parameter does not get applied. The same filtering works, with same parameters, when I embed the dashboard instead of a visual.
@ajio what’s important is not how you call the function, it’s important what is it returning.
As far as I know, I think you can embed QS Dashboard URL within IFrame only.
Check what’s the URL for the iframe, and make sure it has the expected parameter in the query string.
So if you want to use the value from the embedded URL, make sure you have parameter xyz in QS and &xyz={value} in the URL. If the value is not part of the predefined list, QS will show the default value.
If the value has space or special char, make sure you are encoding correctly.
We don’t use their SDK, we just use AWS API to get an anonymous embedded URL, and then add parameters manually to the URL in the code.