KNOWLEDGE BASE

Error Running Flow Including Pivot, "System error: TableauException: value - exception while parsing '#DD-YYYY-MM#' - Invalid datetime value"


Published: 02 May 2023
Last Modified Date: 08 May 2023

Issue

When running a Prep flow with a date field and a pivot of rows to columns, the following error can occur:

System error: TableauException: value - exception while parsing '#DD-YYYY-MM#' - Invalid datetime value

User-added image

Environment

  • Tableau Prep Builder

Resolution

 Change the data type from date or datetime to string in order to perform the pivot.  More information on this restriction and pivoting fields is available in the Tableau Online Help.

Cause

If the field you want to pivot on has a data type of date or datetime, you will need to change the data type to string to pivot it.
 
Did this article resolve the issue?