Customize Your Tableau Data Story
Important changes for Tableau Data Stories
Tableau Data Stories will be retired in Tableau Desktop, Tableau Cloud, and Tableau Server in January of 2025 (2025.1). With advances in natural language technologies, we're developing an improved interface that will make it easier to ask questions of your data and stay on top of changes. For more information, see How Tableau Pulse powered by Tableau AI is Reimagining the Data Experience(Link opens in a new window).
You can use custom language, tailored to your audience, to supplement your Tableau Data Stories with insights specific to your business. Identify the analytics and data from the Data Story that matters most to your audience, and use your own language to create the most impactful story. As with the overall Tableau Data Story, data and variables used in custom content are dynamic, adjusting along with the dashboard.
Add your own insights
- In your Data Story, click Edit to open the Edit dialog box.
- Find the section you want to write about and click Add Custom Item.
- Enter your custom text in the field that appears.
- Click Save.
Add headers and footers
You can insert custom text at the top and bottom of your Data Story. With headers and footers, you can add your own qualitative analysis to stories, include additional explanations of data trends, or append legal and privacy disclaimers.
- In your Data Story, click Edit to open the Edit dialog box.
- Click the Show note switch.
- Enter your custom note.
- Click Save.
Your note now shows at the top or bottom of your Data Story.
Add functions
Using a function in your Data Story is a great way to customize your story and find the insights that are most important to you and your business.
For example, if you want to know the average sum of tourism revenue over a period, select Average as your function and then designate the measure as SUM(Tourism Inbound). This returns the average sum of inbound tourism.
- In your Data Story, click Edit to open the Edit dialog box.
- Click the menu in the right side of the box and select Add Function.
- Select a Data Story Function and fill in the required fields.
- Click Add to Section.
- Click Save.
The custom content now shows in your Data Story.
Add conditions
For each custom sentence you write, you can add a condition that determines whether the sentence renders in your Data Story. If the condition is met, the custom sentence appears in your story. If the condition isn't met, the custom sentence doesn't appear.
You can apply multiple conditions to each custom sentence, and the conditions can be combined using the Any or All buttons within the Add a condition dialog box.
Conditional statements are most often used with numerical comparisons, but the function also supports string matching using the equal (=) or not equal (!=) symbols.
- In your Data Story, click Edit to open the Edit dialog box.
- Enter your custom sentence.
- Click the menu on the right side of the box and select Add Condition.
- Define the custom function to be used to inform the conditional logic. In this example, the sentence "We have met our quota" shows if the Sum of Tourism Inbound is greater than 5 trillion.
- Click Add to Section.
- Click Save.
The custom sentence now appears in your Data Story only if the conditions are met.
Duplicate custom content
You can easily duplicate custom content added to your Data Story, making it easier to build different variations of a sentence. We recommend copying a fully built custom sentence when applying thresholds, building in language variation, and creating different logical variations.
- In your Data Story, click Edit to open the Edit dialog box.
- Create a custom sentence, complete with functions and conditions, if desired.
- In the completed sentence box, Click the menu in the right side of the box and select Duplicate.
- Click into your duplicated sentence, update as desired, and click Add to Section.
- Click Save.
When you copy a sentence, all functions and conditional statements also copy over. The copied bullet appears directly below the original bullet in the same section.
Note: Copied bullets can only be added to the section that the original bullet is in.
Add custom content in drilldown sections
For stories that have two dimensions, each section after the first section is called a drilldown section. Drilldown sections focus on an individual primary dimension entity (i.e. The Americas in the following example).
Because the drilldown sections have the same content structure, custom content added in the first section (i.e., Europe) are applied to each additional section (i.e., The Americas). You can only create or edit content in the first drilldown section.
- In your Data Story, click Edit to open the Edit dialog box.
- In the first drilldown section, click Add Custom Item to each entity.
- Enter your custom content.
- Click Save.
Custom content in drilldown sections already has a context variable called Current Category value (dynamic). This creates a dimension value option called Current Category value (dynamic) which always represents the section that the drilldown section is about.
Tip: To create content that only appears in a single specific drilldown section, you can use conditional logic to ensure it only writes where appropriate.