Questions from Tableau Training: Opening URL Actions Inside of a Dashboard

Data

Questions from Tableau Training: Opening URL Actions Inside of a Dashboard

Our Certified Tableau Trainers are asked a myriad of questions each day. In this series, they share some answers.

Here’s another question I hear from time to time during Tableau training:

“How do I make a URL action open inside of the dashboard rather than in a new window?”

You may know how to make dashboard URL Actions in Tableau that link to various webpages based on selected words or phrases, but did you know that the webpages can be displayed directly within your dashboard?

A Quick Review on URL Actions

Before learning how to embed the webpage actions into a dashboard, let’s review how to generate a URL Action. I started with two different worksheets and placed them on a dashboard. The first worksheet visualizes Sales by Category and Sub-Category while the second displays Profit, Sales and Profit Ratio for the top 5 Manufactures. My goal is to use a URL Action to open a webpage so my report viewers can look up more information about specific Manufacture.

Once my worksheets were in position, I navigated to Dashboard Menu and clicked Actions. In the following menu, I clicked Add Action and choose URL.

Tableau → Insert Dashboard Actions

In the Add URL Action menu, I changed the name of the action to “Learn more about ” where was inserted via the Insert Arrow (►) to ensure the name would change as different Manufacturers were chosen. I unchecked the box for the worksheet called Sales by Product, because I only wanted Top 5 Products (the text table that shows the top 5 Manufacturers) to generate the action. I verified that the action was being run on Menu so that my report viewers would have the option to navigate to the URL only if they wanted by clicking the name within a tooltip.

Tableau → Setting Up URL Action Part 1

The only step remaining was to enter the URL so that the link would work. I used a Google search URL for the example below, replacing the search keyword. Replacing the search keyword with the Manufacturers field the same way I used the Insert Arrow (►) in the name. I also added the word “Manufacturer” to the URL to ensure that the search returned manufacturers only and no other instances of the word.

  Tableau → Setting Up URL Action Part 2

Once the URL was verified through the Test Link button, I hit Okay to close out of the Add URL Action menu pane and once more to exit the Actions pane. Now, clicking any Manufacturer will trigger the URL Action menu within the tooltip as shown below:

Tableau → Hyperlink

When “Learn more about Canon” is clicked, a user’s native web browser opens and displays the webpage based on URL entered in the URL Action. Since I used a dynamic name to define the URL Action, if we were to click on another Manufacturer, then the name would change as well as the URL:

URL change

Directly Embedding Webpages

URL Actions can be a powerful addition to your dashboards, but in order to make it a little more efficient and user friendly, let’s improve functionality by including the webpage directly on the dashboard.

From the Objects pane within the Dashboard pane, drag a Web Page to a blank area on your dashboard. The area where the Web Page object will appear is highlighted gray.

As soon as the Web Page object is dropped, a prompt will appear to edit the URL. Pressing OK without entering a URL will let Tableau to use this Web Page object with any URL Action on the dashboard.

Tableau → Insert Web Page onto Dashboard

To ensure the Web Page object is working correctly, I clicked on the manufacturer Canon and the hyperlink for the URL Action within the tooltip. Sure enough, the webpage opens within my dashboard:

Tableau → URL on the Dashboard

Want More Questions from Tableau Training

  1. Questions from Tableau Training: Quick Filter Interaction
  2. Questions from Tableau Training: Labeling with Table Calculations
  3. Questions from Tableau Training: Speeding Up Presentation Views when Using Tableau
  4. Questions from Tableau Training: Dashboard Actions
  5. Questions from Tableau Training: Business Day Calculations
  6. Questions from Tableau Training: Adding Gaps Between Bars
  7. Questions from Tableau Training: When to Pivot Data in Tableau
  8. Questions from Tableau Training: Adding Conditional Formatting
  9. Questions from Tableau Training: Setting Weekday Start
  10. Questions from Tableau Training: How Do ZIP Codes Work in Tableau?
  11. Questions from Tableau Training: The Small Grey Bar Within a Quick Filter
  12. Questions from Tableau Training: Matching Mark Color
  13. Questions from Tableau Training: Showing the Null Indicator
  14. Questions from Tableau Training: Can I Manually Set the Colors of a Stepped Gradient?
  15. Questions from Tableau Training: How Can I Get Box Plot Data into a Crosstab?
  16. Questions from Tableau Training: How Do I Clear a Worksheet? Make a Copy?
  17. Questions from Tableau Training: Opening URL Actions Inside of a Dashboard
  18. Questions from Tableau Training: Can I Move Mark Labels?
  19. Questions from Tableau Training: How Can I Use My Current Report to Create a Viz?
  20. Questions from Tableau Training: Can I Create Text Hyperlinks on a Dashboard?
  21. Questions from Tableau Training: How Can I Transform My Crosstab into a Flat List?
  22. Questions from Tableau Training: Labeling the Top N
  23. Questions from Tableau Training: How Can I Customize Charts with Parameters?
  24. Questions from Tableau Training: Combining Measures into a Single Line
  25. Questions from Tableau Training: How Can I Create Custom Color Palettes?
  26. Questions from Tableau Training: Can a Top N Parameter be Nested Within Other Fields?
  27. Questions from Tableau Training: Conditional Scope on Tableau Calculations
  28. Questions from Tableau Training: Top Ten Plus N
  29. Questions from Tableau Training: Dynamic Label Positioning
  30. Questions from Tableau Training: Using Cross Joins to Solve Active Tickets
  31. Questions from Tableau Training: Top N Highlight Table
  32. Questions from Tableau Training: How to Use Specific Dimensions in Table Calculations
  33. Questions from Tableau Training: Moving Reference Line Labels
  34. Questions from Training: Comparing Metrics for Same Weekday in Previous Year
  35. Questions from Tableau Training: Colouring Specific Columns and Rows in a Crosstab
  36. Questions from Tableau Training: Creating a Custom Legend as a Sheet
  37. Questions from Tableau Training: How Can I Draw a 45-Degree Angle?
  38. Questions from Tableau Training: Down the Aggregation Rabbit Hole
  39. Questions from Tableau Training: Percent Change from Previous Period on a Map
  40. Questions from Tableau Training: Union File Names as Years
  41. Questions from Tableau Training: Conditional Coloring on Sparklines
  42. Questions from Tableau Training: Moving Column Headers to the Top of the View
  43. Questions from Tableau Training: Isolating Rank with Parameters and Calculations

More About the Author

Jon Bajon

Analytics Consultant
Tableau Viz: How Much Heat Can You Handle? It might sound controversial, but a common practice in my family (and many families throughout Louisiana) was something called ...
Questions from Tableau Training: Can a Top N Parameter be Nested Within Other Fields? The latest question from Tableau Training comes from Ryan, who was in a DII: Intermediate course in New York City. “I know I can ...

See more from this author →

InterWorks uses cookies to allow us to better understand how the site is used. By continuing to use this site, you consent to this policy. Review Policy OK

×

Interworks GmbH
Ratinger Straße 9
40213 Düsseldorf
Germany
Geschäftsführer: Mel Stephenson

Kontaktaufnahme: markus@interworks.eu
Telefon: +49 (0)211 5408 5301

Amtsgericht Düsseldorf HRB 79752
UstldNr: DE 313 353 072

×

Love our blog? You should see our emails. Sign up for our newsletter!