There are times when we would want to access more information about data that maybe hosted outside our data source. This information could either be on a web page, file, or other web-based resources that are outside of Tableau. To access these from our Tableau workbook, we will need to create hyperlinks. These hyperlinks can be created using a URL action. Thus, a URL action is a hyperlink that points to a web page, file, or other web-based resources that are outside of Tableau.
Further, we can pass values and replace the field values in the URL to make the link more relevant to our data. Let us follow the recipe that is given here, to understand the URL action better.
For this recipe, we will first create a new dashboard which has a map that shows state-level information. We will then embed a web page which will be a Wikipedia page and try to pass values from our Tableau view to show the relevant information on the web page. Let's get started.
Dashboard for URL action
. Make sure that you select the Automatic option as we did in one of the previous recipes to resize the dashboard and avoid scroll bars.Sales distribution by State
sheet. Refer to the following screenshot:We have to be very careful when working with URLs as even a slight change in a spelling may not give us the desired output.
Also, since we are working with URLs, it is a good practice to make sure that the Internet connectivity is stable.
Now, when specifying the URL, there is a section which reads URL options. This section contains two options which are as follows:
Read more about URL actions by referring the following link:
http://onlinehelp.tableau.com/current/pro/desktop/en-us/actions_url.html.
What we saw in the above recipes was how to create a dashboard and combine multiple visualizations on it and enable interactivity. One small but important point to remember about dashboards is that when we are done with our dashboards, as good practice, we should hide all the individual sheets that are part of the dashboard. This way, we minimize the number of tabs that will be visible to the end user. This could be the case when we may want to hide worksheets and just share the dashboard and not show the supporting worksheets. In order to do so, we need to right-click on the individual worksheet tab and select Hide Sheet or right-click on Dashboard and select the Hide All Sheets options. Refer to the following screenshots:
To show a hidden worksheet, we will have to right-click on the sheet name from the left-hand side panel on the dashboard and uncheck the Hide Sheet option. Refer to the following screenshot:
In order to know more about all the three actions, refer to the following blog:
https://public.tableau.com/s/blog/2015/06/chronicles-red-devils-highlight-filter-and-url-action.
3.145.179.225