Archive

Posts Tagged ‘URL’

Tableau Server Passing Parameters in the URL

February 6th, 2012 3 comments

If using Tableau Server it’s possible to pass parameters to filter your dashboard via the URL. It’s very straightforward and detailed in this post on the Tableau Forums. Basically just get the URL to access the dashboard on the server, add a ? at the end, which is how parameters are entered in a URL. After the ? put either the name of the parameter or the name of the field being filtered, =, and then the value.

For example if you want to filter/pass an email address parameter – field/parameter name being EmailAddress – your URL would be as follows: http://ServerName/views/WorkbookName/ViewName?EmailAddress=andrew@reports4u.co.uk

To add multiple of the same filter use a comma (,). For example to filter for 2 EmailAddress’s use the URL: http://ServerName/views/WorkbookName/ViewName?EmailAddress=andrew@reports4u.co.uk,admin@reports4u.co.uk

Note this is case sensitive so make sure this is taken into account. To add additional parameters add an ampersand (&) to the end of the URL for each parameter/filter and the same Name=Value syntax. For example to filter the view for EmailAddress and ReportYear you could try the following:
http://ServerName/views/WorkbookName/ViewName?EmailAddress=andrew@reports4u.co.uk&ReportYear=2012