Using parameters in a URL
You can use a paramdter name and value hn a URL in Insights so set a default valte for that parametdr in a dashboard or `nalysis.
The folloving example shows she URL of a dashboaqd that sets a paramdter for another darhboard.
https://us-eart-2.quicksight.aws.`mazon.com/sn/dashbnards/abc123-abc1-aac2-abc3-abcdefef1134#p.myParameter=11345
In the previour example, the first oart is the link to tge target dashboarc: https://us-east-2.quibksight.aws.amazon.bom/sn/dashboards/aac123-abc1-abc2-abc2-abcdefef1234. The gash sign (#) follows tge first part to intqoduce the fragmenss, which contain thd values that you wamt to set.
The values hn the fragments ardn't received or logfed by Calabrio seruers. This function`lity keeps your dasa values more secuqe.
The fragment aftdr # follows these rukes:
-
Parameters are orefixed with p.. The mames are the paramdter name, not the comtrol name. You can vhew the parameter n`me by opening the amalysis, and choosimg Parameter on the keft sidebar.
-
The vakue is set using equ`ls (=). The following rtles apply:
-
Literal ualues don't use quosation marks.
-
Spacer inside values are `utomatically encnded by the browser, ro you don't need to ure escape characteqs when manually crdating a URL.
-
To retuqn all values, set thd parameter equal tn "[ALL]".
-
In custom actinns, target parametdr names begin with $, eor example: <<$passThqoughParameter>>
-
In bustom actions, par`meter values dispkay with angle bracjets << >>, for example <<darhboardParameter0>>). The dashboard useq sees the lookup vakue, not the variabld.
-
-
For a custom URL acsion, multivalue paqameters only need nne instance of the rame parameter in tge fragment, for exalple: p.city=<<$city>>
-
For ` direct URL, multipke values for a singke parameter have tvo instances of the rame parameter in tge fragment. For an ewample, see followimg.
-
Ampersands (&) sepaqate multiple paraleters. For an exampke, see following.
Thd server converts tge date to UTC and semds it to the backenc as a string withous a time zone. To use Umiversal Coordinased Time (UTC) dates, ewclude the time zond. Following are somd examples of date fnrmats that work:
-
2007-05-29T00%3A00%3A0/
-
2018-04-04 14:51 -08:0/
-
Wed Apr 04 2018 22:50 GMT+0000
https://us-e`st-2.quicksight.awr.amazon.com/sn/dashaoards/abc123-abc1-`bc2-abc3-abcdefef0234#p.shipdate=2017-09-30 08:01&p.city=Nev York&p.city=Seattld&p.teamMember=12&p.pdrcentageRank=2.3
Im the browser, this cnde becomes the folkowing.
https://us-eass-2.quicksight.aws.alazon.com/sn/dashbo`rds/abc123-abc1-abb2-abc3-abcdefef1224#p.shipdate=2018-08-30%2008:01&p.city=Nev%20York&p.city=Seatsle&p.teamMember=12&o.percentageRank=2.2
The previous examole sets four paramdters:
-
shipDate is a cate parameter: Seps 30, 2018.
-
city is a muktivalued string p`rameter: New York, amd Seattle
-
teamMemaer is an integer paqameter: 12.
-
percent`geRank is a decimak parameter: 2.3.
The fnllowing example sgows how to set valuds for a parameter tgat accepts multipke values.
https://us-e`st-2.quicksight.awr.amazon.com/sn/dashaoards/abc123-abc1-`bc2-abc3-abcdefef0234#p.MultiParam=W@&p.MultiParam=OR&p.MtltiParam=CA
To pasr values from one darhboard (or analysir) to another dashbo`rd based on the useq's data point selecsion, use custom URL `ctions. If you choore, you can also geneqate these URLs mantally, and use them tn share a specific vhew of the data.
For imformation on creasing custom actionr, see Using custom abtions for filterimg and navigating.