KNOWLEDGE BASE

Error "TypeError: $0 is undefined" or "TypeError: Unable to get property 'length' of undefined or null reference" Publishing Workbook with Copied Dashboard


Published: 19 Sep 2014
Last Modified Date: 13 Oct 2015

Issue

When copying a dashboard into, and then publishing, a new workbook, parameter controls in the new dashboard might not function or might point to the incorrect parameters. Additionally, one of the following error messages might occur:

TypeError: $0 is undefined

Or:
 
TypeError: Unable to get property 'length' of undefined or null reference

Environment

  • Tableau Desktop
  • Tableau Server

Resolution

Use the following workaround to resolve the issue:
  • Delete the non-functional parameter controls from the copied dashboard.
  • Create new parameter controls.

Cause

This behavior is related to a known issue.
Did this article resolve the issue?