Set Up Your Data for Tableau Pulse

You create a metric definition in Tableau Pulse by connecting to a published data source on Tableau Cloud. This data source should have time series data that is complete, well-structured and clearly labelled. Follow the guidelines in this article to structure your data source. For information about creating metric definitions based on a data source, see Create Metrics with Tableau Pulse.

General data source requirements

Make sure that the data source you’re working with meets the following criteria.

  • It’s a single published data source. You can't connect to a data source that is embedded in a workbook, and you can't connect to multiple data sources or use data blending, unless you combine the data before publishing the data source. The data source can be an extract or a live connection, and it can use a virtual connection or connect directly to the data.
  • You have the Connect, View and Create Metric Definitions permission capabilities for the data source.
  • The data source contains:
    • A measure to be aggregated as a sum, average, median, maximum or minimum or a dimension to be aggregated as a count or count (distinct).
    • A time dimension for the metric's time series. Tableau Pulse monitors data over time, so single point-in-time values won’t produce a valid metric. The granularities supported for the time series are day, week, month, quarter and year. Data that requires a lower level of granularity (hour or minute) isn’t a good fit for Tableau Pulse.
    • At least one dimension that can be used to filter the data and insights.

Tableau Pulse displays the dimension names and values that you add as filters on metrics and in insights text. These names and values in your data source should be easy for others to understand. To create the best experience for viewers, follow these recommendations so that the names and values fit with the conversational language of Tableau Pulse.

  • Use title-style capitalisation rather than all caps.
  • Use spaces rather than hyphens or underscores to separate words.
  • Don’t use special characters.
  • Don’t use Boolean fields that appear as true or false.
  • Don’t use fields that consist of IDs or other indecipherable strings.

Custom calendars, goals and thresholds require additional data to be added to your data source. For information about setting up your data source for those features, see Requirements for custom calendars and Requirements for data source goals and thresholds.

Requirements for custom calendars

Set a custom calendar in Tableau Pulse if your organisation doesn’t use a standard Gregorian calendar. For example, you can define a calendar that aligns with the National Retail Federation 4-5-4 calendar(Link opens in a new window).

A custom calendar must be defined in your data source, and all of the calendar fields must belong to the same table. The custom calendar doesn’t need to belong to the same table as your metric data. If the custom calendar is in a separate table, create a relationship between that table and the metric data table.

Don't add row-level security or data source filters that remove dates from the calendar table. If you add a filter to the transactions table in your data source, make sure that the filter scope is set to only that table and not that table and related tables. For information about setting the scope for data source filters, see Create a data source filter.

Each row of the custom calendar represents a date and contains these fields.

  • Reference date
    • The standard Gregorian date that you're mapping to the custom calendar
    • Data type: date
    • Example: 01/01/2025
  • Day of year
    • Data type: number (continuous dimension)
    • Example: 333
  • Week of year
    • Data type: number (continuous dimension)
    • Example: 48
  • Month of year
    • Data type: number (continuous dimension)
    • Example: 11
  • Month name
    • Data type: string
    • Example: December
  • Quarter
    • Data type: number (continuous dimension)
    • Example: 4
  • Year
    • Data type: number (continuous dimension)
    • Example: 2024

The format for dates in Tableau varies based on the locale that a user has set, and some fields aren’t used in all locales. For example, locales set to Japanese or Chinese show the ‘month of year’ instead of the ‘month name’.

After you have added the custom calendar to your data source, you configure the calendar as part of the metric definition. For more information, see Set a custom calendar.

Custom calendar validation

Make sure that the custom calendar is complete, consistent and that it doesn’t skip any dates or numbers. Follow these guidelines to ensure that your custom calendar is valid.

  • All of the fields are present for each reference date.
  • The fields are of the correct data type.
  • The first entry in the table is the first reference date.
  • The reference dates are in chronological order.
  • The reference date includes every day of the year, even if there’s no business data for that day.
  • The day of year, week of year, month of year and quarter of year begin with 1 and increase by 1 with no skipped numbers.
  • There are 7 days in a week. If a year ends with a partial week, the next year must begin with a partial week such that the 2 weeks add up to 7 days. For example, if week 53 of a year has only 2 days, then week 1 of the next year must contain 5 days to form a 7-day week, and week 2 would contain days 6–12.
  • The month name is the same for each month number across all years in the calendar.
  • There are 4 quarters in a year.
  • Each quarter starts and ends with a complete month. Months can’t be split across quarters.
  • The data contains the 2 previous calendar years. Metrics with a comparison to the prior year use those dates to determine the correct comparison.
  • The data is complete through to the end of a custom year. If future data goes into a new custom year, include the complete set of dates for that year, but don’t include more than 4 years beyond the end of the current custom year.

Tableau Pulse validates the fields in the custom calendar. If there’s a problem with your custom calendar, you’ll see an error that helps you troubleshoot the calendar.

ProblemError message example
Skipped reference dateThere is a skipped reference date for the date before 1 Feb 2026. The custom calendar must include every date in a year.
Duplicate reference dateThere is a duplicate entry for 1 Feb 2026. Each reference date must appear only once.
Skipped day of yearThere is a skipped day of year on 1 Feb 2026. The day of year must increase by 1 with no skipped numbers.
Skipped week of yearThere is a skipped week of year on 1 Feb 2026. The week of year must increase by 1 with no skipped numbers.
Incomplete week of yearThere is an incomplete week of year for the week before 1 Feb 2026. A week must have 7 days.
Not enough days in the year for the week of year to be possibleThe week of year on 1 Feb 2026 isn’t valid. A week must have 7 days.
Skipped month of yearThere is a skipped month of year on 1 Feb 2026. The month of year must increase by 1 with no skipped numbers.
Inconsistent month nameThere is an inconsistent month name on 1 Feb 2026. The month name must be the same for each corresponding month of year.
Missing month nameThere is no month name on 1 Feb 2026. All fields are required for every reference date.
Duplicate month nameThe month name on 1 Feb 2026 is already in use for another month number. The month name must correspond to a single month number.
Skipped quarterThere is a skipped quarter on 1 Feb 2026. The quarter must increase by 1 with no skipped numbers.
Not enough quartersThere are fewer than 4 quarters for the year that ends on 31 Jan 2026. A year must have 4 quarters.
Extra quarterThere are more than 4 quarters in a year starting on 31 Jan 2026. A year must have 4 quarters.
Not enough months in the year for the quarter to be possibleThe quarter starting on 1 Feb 2026 isn’t valid. The quarter can’t be greater than the month of year.
Skipped yearThere is a skipped year on 1 Feb 2026. The year must increase by 1 with no skipped numbers.
Field doesn’t start at 1The first day of year, week of year, month of year, or quarter has a value other than 1 for the year starting on 1 Feb 2026. These fields must begin with 1 at the start of a year.
Value is less than 1The day of year, week of year, month of year, or quarter is 0 or a negative value on 1 Feb 2026. This field must begin with 1.
Calendar ends before the current dateThe custom calendar ends on 30 Nov 2025 and doesn’t cover the current period. Include reference dates to the end of the current custom calendar year.

Example custom calendar

To understand how to structure your custom calendar, download an example custom calendar. The table below shows ten rows from the example custom calendar.

Reference dateDay of yearWeek of yearMonth of yearMonth nameQuarterYear
01/01/20253334811December42024
02/01/20253344811December42024
03/01/20253354811December42024
04/01/20253364811December42024
05/01/20253374912January42024
06/01/20253384912January42024
07/01/20253394912January42024
08/01/20253404912January42024
09/01/20253414912January42024
10/01/20253424912January42024

Requirements for data source goals and thresholds

There are two ways to set goals and thresholds: manually or as part of the data source. A manual goal or threshold is simply a static number entered for an individual metric, so there are no data source requirements. A data source goal or threshold is set at the definition level. These goals or thresholds use a field from your data source to show a dynamic value on the metrics based on that definition. For more information, see Configure data source goals and thresholds and Set Manual Goals and Thresholds with Tableau Pulse.

If you want to include a data source goal or threshold as part of a metric definition, there are additional data source considerations.

  • Include the field that specifies the goal or threshold values as part of the data source that the definition connects to. Metric definitions connect to only a single data source, so you can’t connect to a separate data source for this data.
  • If the goal or threshold data is in a separate table from the core definition data, create a relationship between the two tables. If you join the tables instead of relating them, the data source might end up with duplicate goal or threshold values. For information about relating data, see Use Relationships for Multi-table Data Analysis.
  • If you want a finer-grained goal or threshold to be shown when users apply dimensional filters on metrics, include that level of granularity in your data. Otherwise, Tableau Pulse displays the total goal or threshold value for a dimension, even if the data is filtered to a subset of values.

These two tables show example data sources with goals of different granularity. If there isn’t goal or threshold data for each row, for example in the case where there is only a monthly goal, include that value only once. Don’t duplicate the value in each row.

Daily goals for each value in a dimension
DateAccount ExecutiveSalesSales Target (Daily)
01/06/2025Fred Suzuki658600
01/06/2025Jane Johnson505700
01/06/2025Laura Rodriguez623650
02/06/2025Fred Suzuki678600
02/06/2025Jane Johnson527700
02/06/2025Laura Rodriguez656650
03/06/2025Fred Suzuki607600
03/06/2025Jane Johnson753700
03/06/2025Laura Rodriguez558650

 

Monthly goals for each value in a dimension

DateAccount ExecutiveSalesSales Target (Monthly)
01/06/2025Fred Suzuki65815000
01/06/2025Jane Johnson50517000
01/06/2025Laura Rodriguez62316000
02/06/2025Fred Suzuki678
02/06/2025Jane Johnson527
02/06/2025Laura Rodriguez656
03/06/2025Fred Suzuki607
03/06/2025Jane Johnson753
03/06/2025Laura Rodriguez558
Thanks for your feedback!Your feedback has been successfully submitted. Thank you!